How do i make a character jump, (such as mario) smoothly(Like in archmage's super smash bros)with no variables(ouch!)
Offline
Its kind of possible, but not worth it. You need to make the sprite move higher in decreasing amounts then fall with increasing amounts. But if you want to try and avoid using variables you will never be half decent with any kind of programming.
Offline
BoltBait wrote:
Why the "no variables" limitation?
Maybe because with here smash bros game she thinks there are too many variables?
Remember samurai, you can never have too many variables.
Offline
variables are complicated but worth it. it's more of a shortcut to use variables then to not use them.
Offline
greenflash wrote:
variables are complicated but worth it. it's more of a shortcut to use variables then to not use them.
![]()
Shortcuts are nice, but don't get carried away. My brother wanted me to check if there was a faster way to do something, and I found one - but it involved redoing the script some. But it saved a lot of space!
Note: Grr! No actual dashes! Just hyphens!
Offline
floatingmagictree wrote:
BoltBait wrote:
Why the "no variables" limitation?
Maybe because with here smash bros game she thinks there are too many variables?
If a game uses a lot of variables it becomes easier to create sprite specific variables and give them distinctive names
Makes that loooonnnggg lists tidier
Some of my newer projects actually have silly named variables just because it helps me know which is which xD Eg: instead of Jump 1: JumpyJump
Offline
Just use variables, you'll get inevicient jumping without them
Offline
It sounds impossible, but I'll give it a try. You'll hear from me later.
Offline
Well...you could cheat and do it by using Pen Color as a variable
Offline
Paddle2See wrote:
Well...you could cheat and do it by using Pen Color as a variable
![]()
that's probably the most creative solution yet!
Offline