Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: adventure with mini-games  (Read 4752 times)

0 Members and 1 Guest are viewing this topic.

melange

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
    • View Profile
adventure with mini-games
« on: January 01, 2008, 02:43:46 PM »

Hello all,

I need help to figure out whether Wintermute is good tool for game I want to create. Here's my plan: it should by classic 2D adventure game but with many inner mini-games (like puzzle, tic-tac-toe, tatris and many others). Player should complete or win in mini-games in order to advance in story.

Some of these mini-games could be written as WME scripts but I read that language is somewhat limited (for example no 2D arrays). Most of this mini-games would need to be written in C or some other language. 

Is it something like that possible in Wintermute?
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: adventure with mini-games
« Reply #1 on: January 01, 2008, 05:22:37 PM »

you can do this easily with dll (in c++) but 2d arrays is not a real limitation. If you need matrix of any rowsize, you can easily use this 2d to 1d conversion:

2darray[1][2] == 1darray[1*rowsize + 2]

(zero indexed of course)

Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

melange

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
    • View Profile
Re: adventure with mini-games
« Reply #2 on: January 02, 2008, 12:48:21 PM »

So it is possible to create something like game module (in form of dll library) that could take over the screen and have access to game's global variables and graphics? If it is true could you point me to some examples?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: adventure with mini-games
« Reply #3 on: January 02, 2008, 01:24:21 PM »

You can't really take over the screen (well in theory you can, using the Direct3D device, but I wouldn't recommend that). The idea is to use WME entities as building blocks, and control their positions and appearances via plugin. There are several sample plugins with sources in WME development kit, namely the snow plugin, which uses entities as snowflakes.
However, I think you should primarily use the scripting language, and only if you find some problem which you really, really can't solve by scripting, then use a plugin.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

melange

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
    • View Profile
Re: adventure with mini-games
« Reply #4 on: January 02, 2008, 01:51:14 PM »

What about tetris inside Wintermute game (usinng WME script and c++ plugins)? Well, I don't really want to write tetris inside adventure game but something as complex as ie. tetris.

Do you think it is worth the effort to write game like that using Wintermute?
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: adventure with mini-games
« Reply #5 on: January 02, 2008, 01:55:08 PM »

Logged
fl*p

melange

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
    • View Profile
Re: adventure with mini-games
« Reply #6 on: January 08, 2008, 11:43:29 PM »

That tetris is great  ;). Are you an author?
I just want to know if game like that could be written smoothly in WME or is somewhere on WME's limits. I mean, do you need to have deep knowledge of Wintermute to write real-time game like that / does it require some nasty hacks?

Are there more examples like that?

Thank you all for help so far  ::thumbup.
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: adventure with mini-games
« Reply #7 on: January 09, 2008, 08:52:37 AM »

From the credits

Developmnet:OFF Studio & Dead-code software
Graphic: Jnsfbi
Programming: Mnemonic
Music, sounds: Nooly

So, I'm in no way helped with this demo. As you can see a game like that can be written smoothly in WME. There are no hacks involved.
Logged
fl*p

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: adventure with mini-games
« Reply #8 on: January 09, 2008, 09:44:07 AM »

You can download the sources here: http://dead-code.org/misc/wtetris_src.rar
Keep in mind it's several years old, some things could probably be done better today.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.114 seconds with 24 queries.