YesNoOk

Show content

This section allows you to browse the content for this member. Note that you can only see content for which you have sufficient viewing permissions.

**
supercain is Offline
Contact supercain:

supercain

User

Messages by supercain

    

Re: time% wont work unless it equals 0?

 January 28, 2021, 06:29:11 pm View in topic context
avatar  Posted by supercain  in time% wont work unless it equals 0? (Started by supercain January 26, 2021, 05:33:59 pm
 Board: M.U.G.E.N Development Help

XGargoyle you were rude and you made a MISTAKE and thats final. Just be a man and accept it. If you talk to people like that all the time you are going to get a lot of trouble.

Thats my advice so take it or leave it.
    

Re: time% wont work unless it equals 0?

 January 27, 2021, 05:01:01 pm View in topic context
avatar  Posted by supercain  in time% wont work unless it equals 0? (Started by supercain January 26, 2021, 05:33:59 pm
 Board: M.U.G.E.N Development Help

Do I have to spell it out for you? You dont say people things like "you dont know this". Its rude whether its true or not.

Besides guess what? You gave A WRONG ANSWER. So you dont know mathematics as much as you think you do...
    

Re: time% wont work unless it equals 0?

 January 27, 2021, 07:13:44 am View in topic context
avatar  Posted by supercain  in time% wont work unless it equals 0? (Started by supercain January 26, 2021, 05:33:59 pm
 Board: M.U.G.E.N Development Help

He insulted me first. Sentences beginning with "You dont know" something are offensive. Besides his answer was not helpful at all. But thank you 2 for your replies. I think I got it now.
    

Re: time% wont work unless it equals 0?

 January 27, 2021, 02:03:08 am View in topic context
avatar  Posted by supercain  in time% wont work unless it equals 0? (Started by supercain January 26, 2021, 05:33:59 pm
 Board: M.U.G.E.N Development Help

time=230 is exactly what Im using from the beginning, genius...
    

time% wont work unless it equals 0?

 January 26, 2021, 05:33:59 pm View in topic context
avatar  Posted by supercain  in time% wont work unless it equals 0? (Started by supercain January 26, 2021, 05:33:59 pm
 Board: M.U.G.E.N Development Help

Hi,

I have this explod:

Code:
[State 90]
type = explod
trigger1 = time%3 = 0
trigger1 = numexplod(4439) < 10
anim = F69
removetime = -1
postype = p1
pos = 0+random%70,0+random%10
ID = 4439

this works fine because it produces multiple instances of the same explod at different positions at once. Except that I need it to appear after 230 ticks so I changed the first line to this time%3 = 230 and now NOTHING happens. As a matter of fact it will only work with values from 0 to 2 but nothing bigger. Why is that?

Thank you.
    

Re: Screenbound camera wont follow player upwards

 January 19, 2021, 01:59:58 am View in topic context
avatar  Posted by supercain  in Screenbound camera wont follow player upwards (Started by supercain January 16, 2021, 07:47:44 pm
 Board: M.U.G.E.N Development Help

Yes, seems like its a problem with the stage settings. Originally it looked like this:

Code:
[Camera]
boundleft = -350
boundright = 350
boundhigh = 50
boundlow = 20110
tension = 100
verticalfollow = 1.02
overdrawhigh = 20
overdrawlow = 9999
startzoom = 1
zoomin = 0.6
zoomout = 0.3,0.1

I played around with the values and now every time a player jumps the camera follows him up which is annoying. It also messes with the movement down.
    

Screenbound camera wont follow player upwards

 January 16, 2021, 07:47:44 pm View in topic context
avatar  Posted by supercain  in Screenbound camera wont follow player upwards (Started by supercain January 16, 2021, 07:47:44 pm
 Board: M.U.G.E.N Development Help

Hi,

When a player is hit by a strong uppercut they go up but disappear at the upper edge of the screen. I want the camera to follow them. How do I do that?

I tried:

Code:
[State 0, screen]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1,1

but this only seem to work when the opponent falls off the bottom edge of the screen.

Thank you.
    

Re: Show 2 explods in sequence without gaps

 November 06, 2020, 09:10:43 pm View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

Hard to believe nobody can provide a solution to this problem. I cant see why is it such an issue. Is it a bug or something?
    

Re: Show 2 explods in sequence without gaps

 November 05, 2020, 08:31:10 pm View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

Im not talking about a character in specific. Any character can enter that state and have the same problem. But if you still want it I can upload it for you.
    

Re: Show 2 explods in sequence without gaps

 November 05, 2020, 07:55:12 pm View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

No, I cant do that because the animation will change according to the character so it has to be read from each characters own air file.
Which character do you want me to upload? I have TOO MANY.
    

Re: Show 2 explods in sequence without gaps

 November 05, 2020, 07:19:42 pm View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

As I said, my game has over 200 characters. Adding this animation to each one of them is out of the question and its just not practical. Its much easier to use the 2 animations already present in all characters.

The whole thing begins at tick no. 0.

The first explod has a remove time of 20 so tick no. 20th should be the last frame and therefore explod 2 should begin at tick no. 21st.
Explod 2 has a remove time of 6 so tick no. 26th should be the last frame and therefore explod 1 should restart at tick no. 27st.

So why the blank frame??
    

Re: Show 2 explods in sequence without gaps

 November 03, 2020, 07:40:37 pm View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

Before anything, thanks for your time.
This event happens after the opponent has been defeated so it lasts for the rest of the round until the next round or fight starts.
I tried your first example but it wont work. The sprite looks like it flashes because it appears and reappears. I really dont know how else should I put but what I want is very very simple.

I converted the animations into gifs so its hopefully easier to understand.

This is anim 1. It lasts 15 ticks and last frame is infinite



This is anim 2. Its only one frame and it is infinite



my code combines them and shows them as a single animation which SHOULD look like this



BUT instead it looks like this:



please notice the gap between animations. I know its not easy to spot because it lasts a mere 1 tick but it looks odd and I need to fix it.
Also please keep in mind I cant just create a new animation by putting the 2 together because that would imply to do it with every single character and I have way TOO MANY to do that. This is why I am using this approach.

Thank you.

    

Re: Show 2 explods in sequence without gaps

 November 02, 2020, 06:02:35 pm View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

Thanks, but thats fine for a one time only animation. I need it to loop indefinitely.
    

Re: Show 2 explods in sequence without gaps

 November 02, 2020, 04:45:24 am View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

Sorry I just copy pasted the same code twice and I forgot to change the IDs. I edited my first post and fixed it now. The problem is that when anim no.1 finishes showing there is a blank space of about 1 tick and then the second anim shows. I want to eliminate that blank space.
    

Re: Show 2 explods in sequence without gaps

 November 01, 2020, 07:52:14 pm View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

Because its for a custom state and that would imply to add it for each character and I have way too many.
    

Re: Show 2 explods in sequence without gaps

 October 31, 2020, 07:34:19 pm View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

Its just an animation after another. Imagine this is animation one :molleyes: and this is animation 2  :meius: you show the first one for 20 ticks and immediately after that you show the second one for 6 ticks and then again animation 1 but with no gap in-between. Both animations should not overlap each other either.
    

Re: Show 2 explods in sequence without gaps

 October 31, 2020, 06:56:18 pm View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

Help please???
    

Show 2 explods in sequence without gaps

 October 29, 2020, 04:35:33 am View in topic context
avatar  Posted by supercain  in Show 2 explods in sequence without gaps (Started by supercain October 29, 2020, 04:35:33 am
 Board: M.U.G.E.N Development Help

Hi,

I want to repeatedly show an explod exactly after the other stops showing but without any gaps in between and without overlapping each other.
This is my code:

Code:
[State 0, fall]  ;anim 1
type = Explod
trigger1 = time%2 = 1 && numexplod(4427) = 0 && numexplod(5401) = 0
ID = 4427
removetime = 20

[State 0, fall]  ;anim 2
type = Explod
trigger1 = numexplod(4427) = 0 && numexplod(5401) = 0
ID = 5401
removetime = 6

this wont work because there is a gap in between explods and nothing shows. Why is that?

Thank you.
    

Re: Reset camera to 0 (original position)

 October 05, 2020, 07:54:51 pm View in topic context
avatar  Posted by supercain  in Reset camera to 0 (original position) (Started by supercain September 30, 2020, 09:00:35 pm
 Board: M.U.G.E.N Development Help

Thats interesting. I guess it might be an alternative.
    

Re: Reset camera to 0 (original position)

 October 05, 2020, 05:40:21 pm View in topic context
avatar  Posted by supercain  in Reset camera to 0 (original position) (Started by supercain September 30, 2020, 09:00:35 pm
 Board: M.U.G.E.N Development Help

Kinda solved, I was wondering if there is a more conventional way to do it. I am surprised there is no controller that allows you to move the camera to the position you want.