1
2
Sep 8 2011, 8:55 am
|
|
Can yhu make a jumping system for a game without pixel movement.?
|
lol Forum_account the stuff causing the lag seems to be your Pixel Movement procs...
|
I don't doubt it. Native pixel movement is still demanding on the CPU (since my procs call the mob's Move proc which runs the built-in pixel movement, the library's procs get charged for the time the native move takes), so most lag problems stem from just having too many moving objects.
Can yhu make a jumping system for a game without pixel movement.? Are you asking if that's possible or if I'm willing to create one? I'm sure people have made jump commands in tile-based games, but I wouldn't recommend it. |
I just posted another update which has some minor changes to set_pos and how can_bump() is used. It should work better.
One thing that might cause problems is if you change an object's px or py directly, but I'd have always advised against that. |
Anime HQ wrote:
Can you and would you.? Games with actions like jumping tend to be action games that use pixel movement, so it doesn't sound like it'd be worth the trouble. I don't know how it'd work, and aside from you, I have no idea who would use it. |
Hey forum_account can you make a awesome, easy to implement into other sources, combo libary.? Like a 3 verb(punch, kick, nd push) or any kind of combo system.?
|
Anime HQ wrote:
Hey forum_account can you make a awesome, easy to implement into other sources, combo libary.? Like a 3 verb(punch, kick, nd push) or any kind of combo system.? I'm not sure what you mean, but there might be some posts on my forum about that: http://www.byond.com/members/Forumaccount/forum?id=523 I've thought about making that part of the library since it already covers keyboard input and that's often closely related to movement, but I'm not completely sure how I'd want it to work. |
Lol well you just make any type that's good or basic. And pixel movement when I download latest version I have 34 errors(missing vars/procs) and old version makes my game lag still...
|
Hi Forum_account ^^, i decided to make a sidescrolling game with your library , ive implented the sidescroller library ((latest update)) and the keyboard library ((latest update)), yet i get these errors when compiling
movement.dm:122:error: dropped: undefined var movement.dm:243:error: jumped: undefined var pixel-movement.dm:133:error: dropped: undefined var I understand what they do but not how to fix them, any idea what im doing wrong ? ^.^, |
Blackricc wrote:
Hi Forum_account ^^, i decided to make a sidescrolling game with your library , ive implented the sidescroller library ((latest update)) and the keyboard library ((latest update)), yet i get these errors when compiling I'm not sure what happened. I downloaded the latest version of both libraries and they compile fine. Those variables should be defined on lines 42 and 43 of keyboard.dm in the sidescroller library. To double check that you have the latest version you can open your BYOND's "lib" folder, then open the "forum_account" folder and delete the "keyboard" and "sidescroller" folders in there. Then download both libraries again. |
1
2