ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Wed Dec 12, 2018 7:23 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Nov 11, 2012 4:08 am 
Offline
Loremaster

Joined: Thu Sep 23, 2010 10:18 pm
Posts: 3516
Location: London, England
I'm doing "- This Jam" this week - a game jam in which make a game in a genre you traditionally hate. I really despise action RPGs, so this seems a ripe area to make a game in. But... I've no idea how to do the real-time stuff in the T-Engine :/ Any tips?

_________________
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes


Top
 Profile  
 
PostPosted: Mon Nov 12, 2012 8:56 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10234
Location: Angolwen
Take a look at the realtime example ;)

The basic idea is a call to
Quote:
core.game.setRealtime(20)

in load.lua

inherit your Game from GameEnergyBased instead of GameTurnBased (replace all references!)

and hum that's mostly it.

Your game:tick will be called by the realtime timer so turns will pass automatically

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
PostPosted: Tue Nov 13, 2012 4:49 am 
Offline
Loremaster

Joined: Thu Sep 23, 2010 10:18 pm
Posts: 3516
Location: London, England
Ah, thanks a lot! With a bit of fiddling I got it working as I'd like. You can check out the results here:

http://gamesofgrey.com/games/ftjam.zip

To give context, this is a game I'm making for the "- This Jam" game week. The idea of the jam is to choose a genre you traditionally hate and make a game in it. I despise action RPGs, so hence I decided to make a real-time clickfest in the T-Engine. My game is in fact called "- This Jam", and is about battling demonically possessed jam.

I think this is the first real-time game made with the T-Engine?

Some issues I've got, if you're able to give advice:

- Background tiles aren't showing up
- Danger level of enemies doesn't seem to be respected in monster spawning, in spite of using "Max_ood = 0"
- I'd like to make two flyer types, one with big text and the other with small, but the system seems set up to use one flyer type only. Is there a way around this?
- I'd like to add health bars. Is this easy enough?
- I'd also like a restart option on death, but my attempts at copying this from ToME failed. Is there an easy way to add this?

_________________
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes


Top
 Profile  
 
PostPosted: Tue Nov 13, 2012 6:24 am 
Offline
Sher'Tul

Joined: Sat May 15, 2010 9:17 pm
Posts: 1457
Re: Health bars, doesn't tactics mode or whatev' in T4 have that already? Could you crib code maybe?


Top
 Profile  
 
PostPosted: Tue Nov 13, 2012 12:13 pm 
Offline
Loremaster

Joined: Thu Sep 23, 2010 10:18 pm
Posts: 3516
Location: London, England
Tactical view just puts a red or green border around things. I would ideally like to crib ToME's health bar code but I don't actually know where it is :)

_________________
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes


Top
 Profile  
 
PostPosted: Wed Nov 14, 2012 2:57 pm 
Offline
Higher

Joined: Thu Aug 16, 2012 10:52 pm
Posts: 55
Location: Philadelphia, Pennsylvania, USA
So you're coming over to the dark side of having tiles, Grey!? Or is it just for this Action RPG? I like tiles, and I like that T-engine supports animated ones.


Top
 Profile  
 
PostPosted: Wed Nov 14, 2012 4:19 pm 
Offline
Loremaster

Joined: Thu Sep 23, 2010 10:18 pm
Posts: 3516
Location: London, England
Just for this action RPG. For - This Jam it's quite appropriate for me to be making tiles ;)

_________________
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group