ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > CopperCube > Announcements and Showcase
Saturn 7
Author Text

Robo
Guest
Quote
2019-06-28 09:14:21

Recent work done for my game - Saturn 7

Its coming along ok I feel for now...

Has a working inventory system & player status based on actions and temperature etc.

http://lasttrump.net/gamedev.html



Let me know what you think...
Rob.


yalazkan
Registered User
Quote
2019-06-28 16:06:14

Good working..

some useful advice i used to before….
An inventory system have to start with a single question
Is there an empty slot?

So the first array must be "status" (0 empty 1 full 2 addable items etc..) and you need "number_of_items" variable..

create number of items on start up as empty, end then check if one avaiable.

and using with one single function on "Before first drawing do something" tab, life may be easier for you :)


//*********************************
function saturn_on_start() {
var varname="food";
ccbSetCopperCubeVariable(varname,200);

varname="energy";
ccbSetCopperCubeVariable(varname,200);

varname="stamima";
ccbSetCopperCubeVariable(varname,200);

varname="temp";
ccbSetCopperCubeVariable(varname,100);

varname="ammo";
ccbSetCopperCubeVariable(varname,60);

varname="damage";
ccbSetCopperCubeVariable(varname,'0.0');

varname="heat";
ccbSetCopperCubeVariable(varname,'0.01');

varname="thirst";
ccbSetCopperCubeVariable(varname,'0.01');

// and so on....


}


Robo
Guest
Quote
2019-06-29 02:58:00

Thanks for your feedback yalazkan.

In my game I will end up having more inventory slots than the total number of total collectible items so being limited by space I wont be a problem - only limited by weight that you can carry around.

Also there will only be one slot per item as they just increase in number only - not add new slots - bit easier that way..
but yeah, otherwise would have to implement what you said...

I only have like 5 slots now for testing but when I make changes I can just delete the last 4 and copy paste new ones again with slight edit. Later will have like 20+ available slots.

Thanks for the code - I think its much cleaner looking to put all my initial variable values in one section in code like you have rather than 20+ menu list items - I will implement that...

Cheers.


srfstudio
Registered User
Quote
2019-08-10 14:58:57

Just tried it, I liked the atmosphere & the general direction of the game is good.
Since it's a wip file I won't go into details because I'm not sure what you planned to do next with the game but there's a few things I would like to see:
Because you don't use lightmaps you can use normal/bump mapping without any problems, that would enhance the look of the mountains significantly.
Maybe some general experimenting with lights, good usage of point-lights with directional light could make everything more atmospheric in the initial, outdoor level.
Also getting-hit animations for enemies & walk-cycle animation for player hand, but I'm sure you planned to switch CC revolver-hand with appropriate SciFi hand & laser :).
I like environmental-audio direction very much, non-music approach really adds to the atmosphere.


Robo
Guest
Quote
2019-08-10 16:44:59

Hi srfstudio,

Thanks for the feedback - I'm still a noob with making games so lots to learn - thanks for your feedback, will go through each point to see if can improve it.

Yes, your right, I haven't used bump/normal maps yet...have been deleting the blue images all this time wondering what was that for....hah!


just_in_case
Registered User
Quote
Today

Will download and try it once i reach home😇


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (you are not logged in)


Text:

 

  

Forum Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   





Software: Ambiera Light Forum. © 2008-2019 Nikolaus Gebhardt, Ambiera e.U.