Hello. I d like to create simple mini game Battle. Similar to fight in Summertime saga or Being a dik. Can you help with code?? Better way for me is find something which is already used (can't find anything like that). I can do any graphic and gui but coding is not for me
https://youtu.be/GfK-93rD6ls?t=355
I have 4 images as example
1. Before enemy attack
2. In moment attack (you have to press the buttons for a successful attack for a period of time)
(healthbar is invisible here but let's pretend they both have 5 hp)
3.Player successfully attacked -1 hp enemy
4. Enemy successfully attacked -1 hp player
When health drops to 0 the game ended in victory or defeat
Need help with the code for mini game Battle
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Newbie
- Posts: 14
- Joined: Tue Aug 06, 2019 7:12 pm
- Tumblr: malkovichi.tumblr.com
- Contact:
Re: Need help with the code for mini game Battle
It's a long thing, maybe someone will reply sooner than me, but I find the thing very interesting and I'll devise a code in 24 hrs.
The arrows represent the sequence of keys to press, right? So it can change randomly, exactly?
The arrows represent the sequence of keys to press, right? So it can change randomly, exactly?
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
-
- Newbie
- Posts: 14
- Joined: Tue Aug 06, 2019 7:12 pm
- Tumblr: malkovichi.tumblr.com
- Contact:
Re: Need help with the code for mini game Battle
Оh, that would be great. Yes, random change.If you need, here is the PSD file with layers, gui
https://mega.nz/file/715ijBAa#7PFGHYVTZ ... il7iEomVxo
Re: Need help with the code for mini game Battle
You should consider, for a better implementation and speeding up people workflow, to send the actual exported pictures you want to use. Not everyone can freely open and manipulate .psd.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
-
- Newbie
- Posts: 14
- Joined: Tue Aug 06, 2019 7:12 pm
- Tumblr: malkovichi.tumblr.com
- Contact:
Re: Need help with the code for mini game Battle
Its not a problem. I have prepared each object as png or jpg file
https://mega.nz/file/vxo1QaiQ#qEvsEpbUN ... udbfJtzjXU
Re: Need help with the code for mini game Battle
All right. 24hr starting... now .
EDIT: PM sent.
EDIT: PM sent.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
Re: Need help with the code for mini game Battle
viewtopic.php?f=51&t=51868
viewtopic.php?f=51&t=18047
viewtopic.php?f=51&t=47820
Code button
http://www.pygame.org/docs/ref/key.html
viewtopic.php?f=51&t=18047
viewtopic.php?f=51&t=47820
Code button
http://www.pygame.org/docs/ref/key.html
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Who is online
Users browsing this forum: juliaa__