Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Endless flying - featuring extra fluffy clouds #260536
04/11/09 20:52
04/11/09 20:52
Joined: Feb 2006
Posts: 616
Netherlands
cartoon_baboon Offline OP
User
cartoon_baboon  Offline OP
User

Joined: Feb 2006
Posts: 616
Netherlands
Hi,
just wanted to show something I'm working on at the moment for a group of Interaction Design students at my college.

They've designed an interactive installation and I'm now developing the software. This is basically the first time I've attempted to program something in Gamestudio from scratch without just blindly sticking together code snippets from other people. So far it's all working out so I'm pretty happy.

The main idea is to allow endless flying across a static world (meaning it's not randomly generated). Clouds where an important aspect. And eventually music and soundeffects will be faded in and out depending on the height of the player above the world.




Everything you can see in the screenshot and the video is placeholder art. It's a little difficult to see that the world is in fact not just random because I keep using the same tiles.
Just look out for the vertical spiral cloud and the rocks without moss, that;s the center of the map;)

The cloud patterns are very unrealistic at this point in time but I just wanted to test what was possible.

Anyway have a look at it all and let me know what you think. smile

cartoon_baboon



PS.

A list of things that still need attention:
-getting the clouds to adjust their tilt as well so they can keep facing the camera even when viewed from above.
- further smoothing of controls
- optimise performance, atm there are still a lot of clouds that are out of view but aren't being removed, resulting on somewhat slow performance on my ancient computer
- implement sound and music
- create world models and cloud patterns

Last edited by cartoon_baboon; 04/11/09 20:58.
Re: Endless flying - featuring extra fluffy clouds [Re: cartoon_baboon] #260537
04/11/09 20:56
04/11/09 20:56

M
mercuryus
Unregistered
mercuryus
Unregistered
M



nide clouds!
Will you share how you create it?

Re: Endless flying - featuring extra fluffy clouds [Re: ] #260538
04/11/09 21:02
04/11/09 21:02
Joined: Feb 2006
Posts: 616
Netherlands
cartoon_baboon Offline OP
User
cartoon_baboon  Offline OP
User

Joined: Feb 2006
Posts: 616
Netherlands
Thanks!

I'll be releasing the code soon once I've optimised removal and creation of clouds further (see to do list in first post). However I can tell you it's basically just sprites being generated at the vertice positions of a model. At creation they fade in from zero alpha so their popping into view isn't visible.

cartoon_baboon

Re: Endless flying - featuring extra fluffy clouds [Re: cartoon_baboon] #260548
04/11/09 22:02
04/11/09 22:02
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
i really like it CB, what a great demo! i hope you release it an A6 version as well.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Endless flying - featuring extra fluffy clouds [Re: Blink] #260551
04/11/09 22:49
04/11/09 22:49
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
use a shader for the rotating of the clouds. I've tried to make them face the camera when seen from above, it's ...well, I won't say impossible... but I never managed to do it... and I used the same code.
If you figure it out anyways, it'd be great to know. (I think gimbal lock is the problem... )


~"I never let school interfere with my education"~
-Mark Twain
Re: Endless flying - featuring extra fluffy clouds [Re: Germanunkol] #260553
04/11/09 23:07
04/11/09 23:07
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
This:

cloudpointer.pan=0;
cloudpointer.roll=0;
cloudpointer.tilt=360;

let the clouds always facing the camera,
if you use simple sprites ( image files instead of .mdl files).
f.e:

void cloud_func()
{
my.pan=0;
my.tilt=0;
my.roll=360;
}

void main()
{
load_level("");

ent_create("cloud.png",nullvector,cloud_func);
}

Re: Endless flying - featuring extra fluffy clouds [Re: Hummel] #260604
04/12/09 12:25
04/12/09 12:25
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
Yes, but they still turn in a weird way when looking at them from above. they suddenly seem to "roll" around 180 degrees...


~"I never let school interfere with my education"~
-Mark Twain
Re: Endless flying - featuring extra fluffy clouds [Re: Germanunkol] #261762
04/19/09 23:40
04/19/09 23:40
Joined: Feb 2006
Posts: 616
Netherlands
cartoon_baboon Offline OP
User
cartoon_baboon  Offline OP
User

Joined: Feb 2006
Posts: 616
Netherlands
Hi everybody,
thanks for the positive feedback and input.

@Blink: I'm using A6 myself, so that won't be a problem wink

well I've had a busy week working on another prototype for my course.

I've got the clouds facing properly by using the following code:

Code:
my.oriented=off;
my.facing=on;


I don't know how this behaves when the camera is EXACTLY above a cloud but it isn't a problem in this case as you never get to look straight down at a cloud anyway.

The students I am making this for wanted a world that was 50% water 50% land so I've a water shader (yay to Roel Smit for that and ChrisB for the render2texture dll).

Here are some new shots and a new video capture:






I'll be back in a week with more progress. I also hope to clean up the code A LOT as it is now a rather shameful mess wink

cartoon_baboon



Last edited by cartoon_baboon; 04/19/09 23:40.
Re: Endless flying - featuring extra fluffy clouds [Re: cartoon_baboon] #261851
04/20/09 17:52
04/20/09 17:52
Joined: Apr 2006
Posts: 329
M
molotov Offline
Senior Member
molotov  Offline
Senior Member
M

Joined: Apr 2006
Posts: 329
Wow, those are really good looking clouds, I'm really curious to the code that makes it work. Anyway keep up the good work!!!

Re: Endless flying - featuring extra fluffy clouds [Re: molotov] #262043
04/21/09 17:58
04/21/09 17:58
Joined: Jul 2002
Posts: 2,002
Europe
ShoreVietam Offline
Expert
ShoreVietam  Offline
Expert

Joined: Jul 2002
Posts: 2,002
Europe
Nice improvement!
Maybe you should decrease the wave-size a bit, the reflections make the islands look kinda small.


My project Schlacht um Kyoto - Das Samurai Browsergame! (sorry, german only)

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1