Scroll game template

84 views
Skip to first unread message

iarwain

unread,
Nov 11, 2013, 11:25:22 PM11/11/13
to orx...@googlegroups.com
Hi all,

It's been a while since I said I'd share my current game template (using Scroll), so here they are!

I only kept a bare bone skeleton of what I use in all my current projects.
That also include a somewhat generic premake4 script that can be used to compile the game for all 3 main platforms (windows, linux & osx).

It's also setup with viewports that would allow to have overlay popup messages while applying an FX (like blur or greyed out) on the background. Of course this is very game-specific and can be re-arranged for your own needs without having to touch the code much, if at all.

 If you have any questions please don't hesitate! =)

Cheers,

Rom

game.ini
objects.ini
premake4.lua
tracks.ini
ui.ini
Game.cpp
Game.h

faistoiplaisir

unread,
May 2, 2014, 8:26:58 AM5/2/14
to orx...@googlegroups.com
Hi,

Thank for your sharing!

I tried your files and there's a little error. In game.ini, line 76. There's 2 quotes (") in the comment. That cause an error parsing. Just delete them or replace by ' to solve the shader compilation.

About the BackTexture and FrontTexture, I have these 2 errors in my log:

[14:19:07] [DISPLAY] [orxtexture.c:orxTexture_CreateFromFile():770] Failed to load bitmap [BackTexture] and link it to texture.
[14:19:07] [DISPLAY] [orxtexture.c:orxTexture_CreateFromFile():770] Failed to load bitmap [FrontTexture] and link it to texture.

That's normal ? What should I do ? I missed something ?

Thank you!

orx-project

unread,
May 2, 2014, 11:50:14 AM5/2/14
to orx...@googlegroups.com
Ah, damn, you're right about the double quotes. You could also have
them doubled ("'"FX""), but there's no real point in doing that
anyway. ;)

For the warning messages in debug, yes they're normal, it tells you
that it can't create the BackTexture & the FrontTexture as they don't
exist on disk.
I find it annoying as well so I'll look into a way to mute them
(thought I already did that but apparently it was just a dream!)
> --
> You received this message because you are subscribed to the Google Groups
> "orx-dev" group.
> To post to this group, send email to orx...@googlegroups.com.
> Visit this group at http://groups.google.com/group/orx-dev.

iarwain

unread,
Apr 12, 2015, 11:20:25 PM4/12/15
to orx...@googlegroups.com
And here's my current updated version, including the folder structure I'm using and that relies on recent version of orx/Scroll (albeit ScrollEd has a few issues at the moment, so it's deactivated in the template).

Cheers,

Rom
ScrollTemplate.zip
Reply all
Reply to author
Forward
0 new messages