[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Slick Forums • View topic - Log: Modulus

Slick Forums

Discuss the Slick 2D Library
It is currently Wed Aug 05, 2020 11:26 am

All times are UTC




Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Log: Modulus
PostPosted: Sun Apr 03, 2011 10:24 pm 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 620
Location: Iceland
Ok, I have a difficult time finishing games, not so much starting them. Let's hope by entering this contest I have reason enough to finish a game.

My entry is called "Modulus" (suggested by a co-worker). It's a space domination game, RTS based, and you battle enemy fleet with your own fleet of composed ships. Gameplay is somewhat inspired by Gratuitous Space Battle and Upgrade Complete!, my own previous strategy games (unfinished, Towerfield, Galactic Commander), and even Minecraft and Desktop Tower Defense. I use my own unique minimalistic graphical style. But still, it's quite a unique concept I believe.

The player creates ship templates by selecting "modules" from a list and dropping them to the template. Each module is a hexagon tile, and all modules are of equal size. The modules vary from hull to cannons and to propulsion.

Once the templates have been defined the player can drop instances of them into a overview of the battle world. He is limited by $$$ how many ships he can drop. Once done, he hits play and commands the ships in battle against another formidable fleet of AI controlled ships.

There will be a few battles to play, all very difficult to beat and different environment that require different type of ships. E.g. there might be asteroids hitting the ships dealing damage, requiring heavy armor or anti-missile defense, or radiation requiring deflection shields.

No one configuration of ships will work in all battles, so the trick will be to find the "right" configuration for each battle.

I'll post updates as needed.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 12:01 pm 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 620
Location: Iceland
Day 1 (yesterday)

Spent the time mainly doing the graphical concept work. Very simplistic but hopefully effective. Here are the results:
http://gamadu.com/temp/modulus/design2.png (won't embed because of size)

Currently I'm pondering how to implement some sort of nesting feature in Artemis. Easier said than done, probably the biggest weakness with Artemis currently. How do I interconnect all these different modules and make them behave and interact as it was one ship? Hmm..


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 12:07 pm 
Offline
User avatar

Joined: Fri Sep 25, 2009 1:50 pm
Posts: 80


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 12:13 pm 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 620
Location: Iceland


Last edited by appel on Mon Apr 04, 2011 3:59 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 1:40 pm 
Offline
Game Developer
User avatar

Joined: Sun Nov 12, 2006 8:40 pm
Posts: 585


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 4:17 pm 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1340
Location: Italy
nice concept! I love this kind of graphical style!

- Do you plan to use Artemis for it?
- it's all real time or turn based ? Or real time with tactical pause? With many ships could be a problem after some time to keep exact control of all my ships!
- Can player choose color of ships or they are faction based?
- Different part of ship are colored different? For example Weapon = red, Shied = green and so on ?

_________________
| Last game


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 4:39 pm 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 620
Location: Iceland


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 6:13 pm 
Offline

Joined: Wed Mar 30, 2011 2:30 am
Posts: 18
Location: Brazil

_________________
=)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 9:15 pm 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 620
Location: Iceland
Day 2

I've solved the nesting issue. I have created 3 components:
- Children, that is attached to the root entity, and contains bag of child entities. (not needed)
- Parent, that is attached to child entities and contains reference to parent entity.
- LocalTransform, duplicate of Transform, but contains only relative transformation from the transformation of parent entity.

And a system called NestingSystem, that ensures that all entities possessing Transform, LocalTransform, Parent, are updated so that Transform represent absolute world transformation, using the transformation in parent entity and local transformation.

In theory this allows for multi-nesting.

Maybe not ideal, but works for now.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 9:23 pm 
Offline
Game Developer

Joined: Sun Nov 12, 2006 11:18 pm
Posts: 890
Location: Germany
I like your abstract but cool looking graphics style. I already loved your tanke game demo! That's really an appealing graphics style to stay with.

I'm looking forward to see how Artemis works for your game - would love to see the source code when it's done.

I really had to chuckle when I read that your component based system doesn't work well for nesting - I thought that's what they are good at :lol:

But great to hear that you managed to solve that issue!

Good luck with your entry - sounds very promising!

_________________
|
| |


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 9:26 pm 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 620
Location: Iceland


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 9:44 pm 
Offline

Joined: Sat May 23, 2009 8:50 pm
Posts: 24
Location: Uruguay
how will you make sure that you are updating your transformations top to bottom?

ie: a system rotated one entity that is in the middle of a tree so its LocalTransform is changed, but the Transform isn't if your NestingSystem tries to update a child of that entity then it will use an invalid Transform from its parent, unless the parent was updated first.

In a normal SceneGraph you would update transforms top to bottom to ensure that the parent world transform is updated before the children need it and then if needed update bounding boxes bottom to top.

_________________



Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2011 10:40 pm 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 620
Location: Iceland


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 05, 2011 12:20 am 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 620
Location: Iceland


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 05, 2011 12:40 am 
Offline
Game Developer
User avatar

Joined: Tue Nov 21, 2006 4:46 am
Posts: 620
Location: Iceland
Scenegraph working:



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3  Next

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:  
cron
Powered by phpBB® Forum Software © phpBB Group