Re: RPG Overworld Engine
Posted: Tue May 19, 2015 11:25 am
i downloaded it but when i try opening the script is says xe4r is wrong or something
Supporting creators of visual novels and story-based games since 2003.
https://lemmasoft.renai.us/forums/
https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=29964
xe4r? I haven't heard of that. Can you show me a picture of your error? or otherwise copy the text exactly? Because that doesn't sound like anything I programmed.Mayche wrote:i downloaded it but when i try opening the script is says xe4r is wrong or something
I would still appreciate a screenshot or traceback. Even using a translator on that would be more helpful than trying to just guess what is wrong.Mayche wrote:well i think my internet is wrong or something like that, even if i show you what's wrong it's gonna be on swedish but it says katalog name xe4r is wrong or something like that i will see if my internet is wrong (i've been having problems whit it lately)
Glad it worked, sorry I was so slow to reply! I didn't see this. But either way, I'm very glad you eventually got it to work. Wish you luck using the engine c:Mayche wrote:Well now it does work i updated renpy and it works now thank you for the replies^^
Thank you~!paktek123 wrote:Great work!! This is awesome!
It should be, yes! The engine was made with a custom displayable on a very recent version of Ren'py. So any version capable of producing an android build should be able to utilize it.CalixtheGreat wrote: ↑Fri Feb 02, 2018 12:42 amIs it possible to use this and build a game for Android?
Sorry if this is a dumb question, but how can i make a screen overlay for arrow keys that allows the player to walk then another button to interact?Mole-chan wrote: ↑Fri Feb 02, 2018 2:52 pmIt should be, yes! The engine was made with a custom displayable on a very recent version of Ren'py. So any version capable of producing an android build should be able to utilize it.CalixtheGreat wrote: ↑Fri Feb 02, 2018 12:42 amIs it possible to use this and build a game for Android?
Don't worry, it's not a dumb question, and your english is fine. :3CalixtheGreat wrote: ↑Fri Feb 09, 2018 2:06 amSorry if this is a dumb question, but how can i make a screen overlay for arrow keys that allows the player to walk then another button to interact?Mole-chan wrote: ↑Fri Feb 02, 2018 2:52 pmIt should be, yes! The engine was made with a custom displayable on a very recent version of Ren'py. So any version capable of producing an android build should be able to utilize it.CalixtheGreat wrote: ↑Fri Feb 02, 2018 12:42 amIs it possible to use this and build a game for Android?
As you can see, the rpg overworld engine's example code is for PC. But it doesn't work on android since the only way to move the player is by pressing keys from keyboard.
Sorry for if my english is not that good. Hahhaa
Code: Select all
pos = pygame.mouse.get_pos() #get position of mouse
off = self.panMap() #get offset of the child
pos2 = ((pos[0] - off[0]),(pos[1] - off[1])) #adjust for offset, so we're getting reasonably close coordinates
if not self.player.caught and not self.talking:
if upButton.rect.collidepoint(pos2):
self.player.facing, self.player.up = 'up', True
self.player.walking = True
if rightButton.rect.collidepoint(pos2):
self.player.facing, self.player.right = 'right', True
self.player.walking = True
if leftButton.rect.collidepoint(pos2):
self.player.facing, self.player.left = 'left', True
self.player.walking = True
if downButton.rect.collidepoint(pos2):
self.player.facing, self.player.down = 'down', True
self.player.walking = True
if interactButton.rect.collidepoint(pos2) and not self.talking and not self.goTo:
for vil in self.sceneryList:
self.talk(vil)
IIRC, that's actually the system that the engine was using when released. I was planning to upgrade to a proper tile based system for everything, not just interactable objects, but never quite got to it. So, yes, a parallax system is very much possible.Pomeranian wrote: ↑Thu Mar 29, 2018 12:01 pmWould it be possible to have a pre-rendered background that the player could walk on, that scrolls with the player? The tiles would still be in use on a higher layer for things like interactable objects, npcs etc. I'm thinking something akin to parallax mapping in rpg maker, if you're familiar with it.
Mole-chan wrote: ↑Fri Feb 09, 2018 3:15 pmAnd I could swear there was a way to determine what platform the build is for, that you could check against for an if/or clause. That way this is only displayed when appropriate. But it's been years and I can't seem to find it. If you have any luck with that, I'd highly encourage using it.
Hope this helps!
Code: Select all
if not renpy.variant("android"):
#your code
else:
#PC code
Ah yes, that's it! Thank youImperf3kt wrote: ↑Tue Apr 03, 2018 4:30 amMole-chan wrote: ↑Fri Feb 09, 2018 3:15 pmAnd I could swear there was a way to determine what platform the build is for, that you could check against for an if/or clause. That way this is only displayed when appropriate. But it's been years and I can't seem to find it. If you have any luck with that, I'd highly encourage using it.
Hope this helps!I'd suggest trying "mobile" instead of "android" first to encompass other touch platforms.Code: Select all
if not renpy.variant("android"): #your code else: #PC code