View previous topic :: View next topic |
Author |
Message |
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Thu Feb 19, 2015 5:22 pm Post subject: Cheat Engine Based - Platformer Game. |
|
|
Something I've developed during Jan.
A simple platformer game (nothing much to do).
Movement - Player:
A = right
W = up
D = left
Shift = running
Movement - AI:
Arrow keys
Ctrl - Running
Credits for images and sound goes to their creators.
Download:
http://www.mediafire.com/view/zyoe7cv6v6cset4/game.CT
_________________
|
|
Back to top |
|
|
SteveAndrew Master Cheater Reputation: 30
Joined: 02 Sep 2012 Posts: 323
|
Posted: Fri Feb 20, 2015 12:31 am Post subject: |
|
|
LOL a game written into a cheat table lua script! That's pretty cool. Anyway I think you've got your left and right mixed up, unless you're talking about the movement of the map rather then the player. Which it does seem the player is always centered and only the map truly moves.
Also why can you control the AI? It's more like player 2 then AI since it doesn't have any artificial intelligence!
Anyway it's good but I think jumping needs to be perfected. Something about it doesn't feel as good as it should. Other then that though its great! lol
_________________
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri Feb 20, 2015 2:06 am Post subject: |
|
|
SteveAndrew wrote: | LOL a game written into a cheat table lua script! That's pretty cool. Anyway I think you've got your left and right mixed up, unless you're talking about the movement of the map rather then the player. Which it does seem the player is always centered and only the map truly moves.
Also why can you control the AI? It's more like player 2 then AI since it doesn't have any artificial intelligence!
Anyway it's good but I think jumping needs to be perfected. Something about it doesn't feel as good as it should. Other then that though its great! lol |
Well player should be centered.
Right left does move player, I just move the panel a bit to the left, to center the player (he does actually move in the map).
About AI, wanted to make server/client, actually did make, just something went rubbish (server could receive and update, while client can't).
About jumping, went lazy on it.
Feel free to contribute.
_________________
|
|
Back to top |
|
|
alanze Advanced Cheater Reputation: 3
Joined: 03 Oct 2012 Posts: 50
|
Posted: Fri Feb 20, 2015 6:56 am Post subject: |
|
|
I also used lua scripting to manipulate images in forms but not that advanced way like you, this is great.
Basically if someone is enough dedicated it could recreate a game from C64, Amiga, Nes... just the sound would be a limitation with this tiny xmplay,
keep up developing so others can learn.
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri Feb 20, 2015 7:08 am Post subject: |
|
|
alanze wrote: | I also used lua scripting to manipulate images in forms but not that advanced way like you, this is great.
Basically if someone is enough dedicated it could recreate a game from C64, Amiga, Nes... just the sound would be a limitation with this tiny xmplay,
keep up developing so others can learn. |
Yeah, when you're limited, you learn to manipulate :p.
If I was a bit more dedicated, it'd be more advanced, but it was a side project, tried to see how well cheat engine responds and updates when updating lot's of objects.
_________________
|
|
Back to top |
|
|
alanze Advanced Cheater Reputation: 3
Joined: 03 Oct 2012 Posts: 50
|
Posted: Fri Feb 20, 2015 8:17 am Post subject: |
|
|
I just checked now, the max number of sounds which can be played at once is 3.
For example to play a background sound, a jumping sound and a shot sound:
xmplayer.playXM(xmFile) - play the background music,
playSound(wavFile) - play the jumping sound,
beep(), play the shot sound,
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri Feb 20, 2015 8:19 am Post subject: |
|
|
alanze wrote: | I just checked now, the max number of sounds which can be played at once is 3.
For example to play a background sound, a jumping sound and a shot sound:
xmplayer.playXM(xmFile) - play the background music,
playSound(wavFile) - play the jumping sound,
beep(), play the shot sound, |
With some manipulations, you can play more, like using the Wav (And mp3) script from mgr.inz.player.
_________________
|
|
Back to top |
|
|
alanze Advanced Cheater Reputation: 3
Joined: 03 Oct 2012 Posts: 50
|
Posted: Fri Feb 20, 2015 8:28 am Post subject: |
|
|
Are you referring to the sript posted with title "playing MP3 files with playSound [CE6.4]" in lua section?
I did not studied yet enough, how to start (how to call what function) multiple instances of sounds?
[Edit]
Ok, I studied, I now what function to call and how, but just needs to be adapted to play multiple files at once.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Fri Feb 20, 2015 9:37 am Post subject: |
|
|
playSound has 2 parameters: stream and "WaitTillDone"
Just set WaitTillDone to false, or use threading (createNativeThread)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
alanze Advanced Cheater Reputation: 3
Joined: 03 Oct 2012 Posts: 50
|
Posted: Fri Feb 20, 2015 11:04 am Post subject: |
|
|
I now about the 2 parameters, when WaitTillDone is false the first song is played then the second but not both in same time.
This is what would be needed for this game style CE application:
playSound(wav1) - play a background music (music length let's say 3 minutes)
--meantime process another tasks
playSound(wav2) - play jump sound (without stopping the background music)
playSound(wav3) - play shot sound (without stopping the background music and jump sound)
--meantime process another tasks
I'm not familiar with threading but I will study and give it a try, thanks for the tip.
[Edit]
I couldn't do it, I leave this for advanced scripters, wav1 was stopped and wav2 played, here is the code which I used:
Code: |
wav1=findTableFile('bells.wav')
wav2=findTableFile('birds.wav')
playSound(wav1)
function tempF(thread)
playSound(wav2)
end
createNativeThread(tempF)
|
|
|
Back to top |
|
|
|