Author Topic: What are you working on? :D  (Read 261001 times)

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #100 on: March 01, 2011, 03:33:43 AM »
If all else fails...teh intertubez iz ur frend.


EDIT:
http://www.networking-forum.com/viewtopic.php?p=146815   looks to be your specific problem number 1), or very close. EDIT AGAIN: That's cuz you asked it there last year... I feel dumb.

http://www.cisco.com/en/US/docs/ios/sec_secure_connectivity/configuration/guide/dmvpn_dt_spokes_b_nat.html   is the Cisco page for your problem number 2)
« Last Edit: March 01, 2011, 03:38:58 AM by Pilchard123 »

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #101 on: March 01, 2011, 08:03:21 PM »
Actually that first link you posted is a thread I made on that forum just a few days ago, asking for help.  :>

I'm back home now, and exhausted.  Going to sleep for a bit I guess..

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #102 on: March 01, 2011, 09:22:03 PM »
How is C++ doin' Annikk, any progress?

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #103 on: March 02, 2011, 05:36:52 AM »
Workin' on a CTF like map... But the auto owner thing annoys the crap of me -.- ALL THE TIME! How do I remove it?

Rudolf

  • Administrator
  • Old Oak
  • *****
  • Thank You
  • -Given: 5
  • -Receive: 13
  • Posts: 669
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #104 on: March 02, 2011, 07:27:21 AM »
Jeepers, sounds like there is amazing stuff going on here on the forums!

We are indeed utterly utterly swamped, but I will try to process this somehow asap, and chat to Alex about it.
Pm's sometimes get answered s bit late due to our deadlines. We are doing a release on a major console with very few people which is bloody hard.

We could use testers soon actually!

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #105 on: March 03, 2011, 01:14:44 AM »
I'll test!

..if you give me an iPad/iPhone/PS3/X360/whatever you happen to be testing it on.


PC gaming ftw!

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #106 on: March 03, 2011, 01:19:55 AM »
I think it is PS3, I dunno... But if it is, sign me up for beta testing, but I might not have availability to play sometimes though :/

Inumedia

  • Seed
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
Re: What are you working on? :D
« Reply #107 on: March 03, 2011, 01:15:18 PM »
I'm still wondering why you guys didn't just port it to XNA and put it on the 360 o_o;

Rudolf

  • Administrator
  • Old Oak
  • *****
  • Thank You
  • -Given: 5
  • -Receive: 13
  • Posts: 669
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #108 on: March 03, 2011, 04:27:02 PM »
Thanks for the offers guys, more detail soon. :-)

We did not go the 360 route because Microsoft has become EXTREMELY unfriendly to indies in various ways, and on top of that they demand all kinds of features to be bolted on to games even if it makes no sense for the game in question. As a result developing an xbla version is too expensive and too risky.


annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #109 on: March 03, 2011, 08:06:14 PM »
Quote
Microsoft has become EXTREMELY unfriendly to indies in various ways, and on top of that they demand all kinds of features to be bolted on to games even if it makes no sense for the game in question.

In that case I welcome your decision.  :>


Speaking of updates, there is an update request mentioned here which I would love if you could look at, when you get time.  I realise your current project is far more important for the success of Eufloria generally though, so I'm happy to wait.  :>


Thanks for checking in by the way!  It's great to hear from you, and I'm really looking forward to the time when you are a bit less busy and can post regularly again.  :>

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #110 on: March 05, 2011, 12:49:18 AM »
Now I'm workin' on a fancy background, won't work until draw behind or layers have been added... I'll publish the code after draw behind or layers is added! But maybe you want to have a look at it?

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #111 on: March 05, 2011, 06:27:19 AM »
I'm done with the basics of Fancy Background, got a 5 hours brake though, slow progress that way -.-
« Last Edit: March 05, 2011, 06:53:38 AM by Aino »

Inumedia

  • Seed
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
Re: What are you working on? :D
« Reply #112 on: March 05, 2011, 10:54:49 AM »
Thanks for the offers guys, more detail soon. :-)

We did not go the 360 route because Microsoft has become EXTREMELY unfriendly to indies in various ways, and on top of that they demand all kinds of features to be bolted on to games even if it makes no sense for the game in question. As a result developing an xbla version is too expensive and too risky.



Ah.  That explains that. :P

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #113 on: March 06, 2011, 08:48:58 PM »
Gonna learn some C#, see if I get some results(Wanna make a 3D game :)).

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #114 on: March 07, 2011, 01:57:57 AM »
Try Unity. You can use a variant of Javascript, which is so much easier to learn. It's free, unless you want the Pro features, or have more than $100k turnover a year. It's also really easy to learn, at least I found it so. unity3dstudent.com is a good (and free!) tutorial site. The tornadotwins have some good stuff on youtube too.

www.unity3d.com


EDIT: Oh, and you can develop for amost any major platform. Some (ie anything that isn't Windows, Mac, Linux or the 'net) licences you have to pay for, but...

In short, it's good, I like it.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #115 on: March 09, 2011, 03:18:07 AM »
Java? Srsly, java is plain annoying with all the uppercased letters, just hoping it isn't like that in unity, gonna give it a try :)
The uppercased letters is why I quited java scripting, but Java is where I learned all about coding, so if I release any cool maps or functions, thank Java(and WC3... for making me want to code in the first place). A good tutorial for java(on youtube, WITH COMMENTARY... THAT ISN'T ANNOYING!) is
Here :D
(Watch all of the 100 episodes(literally!!!))... Maybe I ran a little off topic...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #116 on: March 09, 2011, 03:35:02 AM »
Hey, unity uses C#! o.O

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #117 on: March 10, 2011, 02:07:37 AM »
Javascript is NOT Java, or even anything to do with Sun Microsystems.

However it doesn't make much difference which language you use, so...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #118 on: March 10, 2011, 09:43:51 PM »
Heard of javascript, but haven't learn't about it...

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #119 on: March 11, 2011, 02:00:52 AM »
Javascript is a scripting janguage used in webpage design, and also mashed into in Unity.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #120 on: March 11, 2011, 08:22:09 PM »
Important meeting today. :O

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #121 on: March 11, 2011, 09:35:31 PM »
o.O

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #122 on: March 12, 2011, 04:46:06 AM »
No worries.  :>

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #123 on: March 12, 2011, 05:34:02 AM »
Okay :)

Avaguard

  • Seedling
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 40
Re: What are you working on? :D
« Reply #124 on: March 20, 2011, 11:03:13 AM »
every 1 sounds amazing  8) .....well im workin on a kind of maze map maybe.... :-X

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #125 on: March 20, 2011, 11:51:23 PM »
Nice, but how are you gonna do it?

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #126 on: March 23, 2011, 08:39:16 PM »
I have entered another period of total inactivity in map design.
I have no ideas I feel like pursuing right now.  There are things I could work on, but the urgency seems less than some of my other, non-Eufloria-related projects.

I'm also pretty depressed about the whole LineDraw thing.  Still hoping that will be addressed one day, when A&R are around again..

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #127 on: March 23, 2011, 09:28:51 PM »
Alex is around once a day it seems :) Ansd I got starcraft 2, maybe we can play? :D

Avaguard

  • Seedling
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 40
Re: What are you working on? :D
« Reply #128 on: March 25, 2011, 01:16:03 AM »
dat sounds kool lol hmm is it at all posible to change how the trees look or mean grow in to like maybe a swirle tree i highly doubt it

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #129 on: March 25, 2011, 02:10:52 AM »
Request it :) Higher chance to do it then :D

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #130 on: April 17, 2011, 02:30:26 AM »
Making a GetMouseX() and GetMouseY() function :D

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #131 on: April 17, 2011, 02:46:56 AM »
There's already one, I think.

Yeah, but I don't think it's documented.

GetMouseScreenX()
GetMouseScreenY()

If you want a world co-ordinate one, then you might have to make it yourself, but...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #132 on: April 17, 2011, 02:55:29 AM »
And I am done :D

By the way, I'll give something I worked on ever the night... It's a gravity/bouncing thing... And no, it's not gravity like Annikk's gravity engine...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #133 on: April 17, 2011, 02:56:34 AM »
Ye, I saw you use it Pilchard, so I guessed that if I mess around with GetCameraX() and GetMouseScreenX() and some other stuff, I'll brew that function :)

EDIT: It's my B-Day today too  8) (Turning 15!)
« Last Edit: April 17, 2011, 03:00:16 AM by Aino »

Bonobo

  • Achiever
  • Old Oak
  • ****
  • Thank You
  • -Given: 139
  • -Receive: 12
  • Posts: 670
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #134 on: April 17, 2011, 03:44:04 AM »
Hey :-) Happy B-Day to you! Stay healthy and happy!

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #135 on: April 17, 2011, 04:16:55 AM »
Happy Birthday Aino. :>

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #136 on: April 17, 2011, 05:13:25 AM »
Thanks :D

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #137 on: April 29, 2011, 09:40:38 PM »
Thinking of making a new and better version of Alien AI, where the AI will calculate what they will get from invading an asteroid:

Quote from: Scenario
If the AI have lost all of their asteroids and have one left(which has the attribs of: 0.5 energy, 0.6 speed and 0.5 strength and with 25 seedlings), then it will look at the neighbours:

The firsth neighbours has as following:
  • Energy=0.7
  • Speed=0.4
  • Strength=0.5
now the AI look at the asteroid with most of all the stats, which is their only asteroid and calculate how many points the attribs will give. Now, since the neighbour have 20 enemy seedlings the AI must find the amount of difference the two asteroids have. it will get an ending score at: 1.25

The second neighbour has:
  • Energy=0.6
  • Speed=0.3
  • Strength=0.7
  • Seedlings=17
  • Score: 1.47

The roid with highest score is reccomended to capture and the AI will do so...(hope you understood, if not... read is closely! :))

Let's begin coding :D

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #138 on: May 02, 2011, 09:33:44 PM »
Sounds like you've got the planning thing down pretty good.. :>

AI battles ftw!  If you make an AI that can defeat Infected, the ball will once again be in my court...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #139 on: May 02, 2011, 09:35:50 PM »
Tried once, it crashes, so I'll do it next weekend or sometime, but the details is there :)

Edit - I also have plans making all asteroids having "chosen" neighbours, if the distance away from the asteroids are changed, then it will recheck and get new neighbours :)

Edit 2 - Appearantly I started today o.O But I need help with a little thing, anyone can figure out a calculation for the computer, calculating how much loss the AI will get by attacking an asteroid with defence tree(s)... I want it to say that when you have 500 seeds attacking it is 0 and 5 is 5, and no, I don't want to use if statements...

One I've found, but it won't work on highh amount of seedlings:
Code: [Select]
SeedAmount - ((Seedamount/10)/Deftreesamount)Maybe you can work out on that one??
« Last Edit: May 02, 2011, 11:52:01 PM by Aino »

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #140 on: May 03, 2011, 03:13:24 AM »
Ok, have made a scratch of the map I'll introduce it in too, sadly it's made on paper... but I made it by making doodles(Hope that was correct :P) and just making circles where some lines crossed... You'll see how it turned out :)

[thinking]Maybe I should make a topic about all my inventions too? Like Annikk...[/thinking]

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #141 on: May 03, 2011, 04:17:30 PM »
I still think A&R should install ultimate profile.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #142 on: May 03, 2011, 07:07:04 PM »
For what?

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #143 on: May 04, 2011, 01:30:24 AM »
Invention-hoarding.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #144 on: May 04, 2011, 02:05:45 AM »
Lol :)

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #145 on: May 04, 2011, 03:37:35 AM »
Sry people, seems there won't be any Alien AI 2.0, it seems to just create more rubble than I can remove... But I will update the old AI and making it slightly harder...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #146 on: May 04, 2011, 04:27:43 AM »
Ok, edited my AI and added two things, both of them improves the AI significantly... I won't spoil though, but the behaviour of the AI says enough :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #147 on: May 23, 2011, 11:38:59 PM »
I started coding again today.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #148 on: May 23, 2011, 11:45:45 PM »
Finally :D

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #149 on: May 24, 2011, 02:21:05 AM »
I'm not sure whether the music we should have here is the 2001 theme or Morning from Peer Gynt.


Nah, Fanfare for the Common Man. The original orchestral version.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #150 on: May 24, 2011, 03:05:42 AM »
Making new maps for the Aliens of Akutash campaign :)

Hopelyfully they'll be full of fun and action :D

Progress: 1/3 maps done this sesion

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #151 on: May 24, 2011, 05:21:05 AM »
Made my first new mechanic in a while.  Its one that has been done before in various guises, but I like my implementation more.. :P  obviously I am biased though.

Need to think of a good idea for a map that can use it.  Hmm...

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #152 on: May 24, 2011, 05:36:09 AM »
Right. What do we know?

You're in Scotland, so that means you're in the same time zone as me (GMT +- 0)
You only started coding again today - it's a fairly simple thing.
It's been done before.
You need to think of a map idea to use it.

So:
It's not an AI - that's much more than a day's work and it can really be put in any map with a little tweaking.
It's not solely an aesthetic change coz that's not really a game mechanism.
Gravity/collisions? No. Not in a day.
I'm thinking either CC or rallying. Maybe a TD map.

Amirite?

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #153 on: May 24, 2011, 06:27:03 AM »
Maybe!


Yes.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #154 on: May 24, 2011, 06:40:19 AM »
I had an idea that I think would be pretty fun, and would also justify the new mechanic I made today.  It involves a big cluster of asteroids in a rough square or ball.. organically spaced, individually tailoired.  There would be various invasion type scenarios... rotating moons, comet flybys..  The whole thing would be very fast-paced.

I guess I would use Infected AI.. though probably not the Starfield Engine due to CPU constraints, and also because it might be too much visually when the new mechanic is active too.  Gravity would be quite nice here, the asteroid clusters could all be in "sun" mode, and the comets could weave in and out of them.  That might look pretty damn awesome...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #155 on: May 24, 2011, 09:39:07 PM »
Whatever it is, I'll beta test it immediatly if possible, when possible :)

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #156 on: May 25, 2011, 12:57:53 AM »
I think I'll need a tutorial in I/O, I really want to make a saving system, but how??

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #157 on: May 25, 2011, 12:58:14 AM »
Did a little more on it today.  Refinements to the mechanic's visuals.  Tidied up the lua code a lot and got everything ready to add the asteroids.  Emailed the code to myself so I can work on it later.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #158 on: May 25, 2011, 01:01:06 AM »
Lol xD

You e-mailed it to yourself? Awesome... Though I really wanna know what it is D:

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #159 on: May 25, 2011, 02:38:19 AM »
Ok, I'm ready, for making my Save/Load function... but first something for my campaign :D

It's going to be a totally new game element, though it uses old to make itself new(you probbly don't understand...) :)


Maybe get going with it another day... Right now I begin to get tired :P
« Last Edit: May 25, 2011, 03:04:59 AM by Aino »

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #160 on: May 25, 2011, 03:11:33 AM »
Although I'll need to know EVERYTHING that is responsible for the gameplay, so people: mind help me?

Just tell me about something that exists in the game, like treecap and seedlings per empire(though, I said them so don't be stupid and post them :))

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #161 on: May 25, 2011, 03:12:40 AM »
Why don't you just look them up in the Reference thread?

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #162 on: May 25, 2011, 03:13:54 AM »
yeah, why not? I'm stupid :P

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #163 on: May 25, 2011, 03:38:09 AM »
Awesome!!!

Fixed the saving :D

Example on totally random map:

Code: [Select]
0|1|0|0|0|100|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0.47816401720047
1|1|0|0|0|100|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0.93597215414047
2|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.68686866760254
3|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.29292929172516
4|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.56565654277802
5|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.10000000149012
6|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.88888889551163
7|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.69696968793869
8|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.58585858345032
9|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.17171716690063
10|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.27272728085518
11|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.1414141356945
12|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.75757575035095
13|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.33333334326744
14|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.63636362552643
15|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.31313130259514
16|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.3737373650074
17|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.5151515007019
18|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.13131313025951
19|0|28|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.98989897966385
20|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.59595960378647
21|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.70707070827484
22|0|12|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.78787881135941
23|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.47474747896194
24|0|32|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.38383838534355
25|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.2323232293129
26|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.7474747300148
27|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.66666668653488
28|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.96969699859619
29|0|17|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.72727274894714
30|3|0|0|0|0|0|0|0|0|0|20|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0.71717172861099
31|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.89898991584778
32|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.82828283309937
33|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.30303031206131
34|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.92929291725159
35|2|0|0|0|0|0|0|20|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0.47474747896194
36|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.53535354137421
37|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.92929291725159
38|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.77777779102325
39|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.88888889551163
40|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.41414141654968
41|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0.27272728085518

And every single id is pasted with this: ID|owner|seedlings"i"|numflowers"i"|nummines"i"|numdystrees|numdeftrees|visble[player]|coreenergy\n

where when indexed with "i" it's and array spanning for all living empires...

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #164 on: May 25, 2011, 04:07:16 AM »
How did you get the IO library to work?

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #165 on: May 25, 2011, 05:11:22 AM »
Simple, just write
Code: [Select]
io.output(io.open(x .. filename, "w" or "r"))
Where x is file destination, remember \\ not \!

Example: io.output(io.open("D:\\" .. "cool.txt","w"))

and "w" is write, "r" is read.

Now if you wrote you can just make a variable named anything, change it as you want and then add io.write(textvariable)

then after you're done, jsut take in a io.close()

Code: (Example) [Select]
io.output(io.open("D:\\" .. "cool.txt","w"))
local txt = "this is\na cool\nlittle snippet\nfrom fluffyland :D"
io.write(txt)
io.close()

After running it there will be a text file named cool on your D disc :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #166 on: May 25, 2011, 07:56:55 PM »
I haven't tested it myself but presume it works as described.  Well done Aino for solving one of the longstanding problems that none of us have been able to solve :>

That is the first major barrier to saving games dissolved.  The other big problem is, how do you account for seedlings that are mid-flight between asteroids when you save the game?  How do you detect and record their existence, and how do you re-create them when the level is loaded again?



With regard to my own project...  I had some more ideas for it last night which would make it truly original and worthy of being a new annikk map.  As usual they range from incredibly difficult to totally impossible to pull off.  w00t!

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #167 on: May 25, 2011, 09:24:01 PM »
Well, you can do one thing, make them appear on random asteroids, just count the amount of seedlings the empire have, the numer of seedlings they have in the loaded game and the difference between them will be added to random roids the empire owns, though you'll have to send seedlings again...

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #168 on: May 25, 2011, 09:54:54 PM »
That could potentially leave the loaded game looking significantly different from the one that was saved, though.  Imagine if you save the game right before your seedlings arrive for a devastating attack on the enemy.  When you reload, your seedlings would be scattered everywhere and not in position for the attack.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #169 on: May 25, 2011, 09:57:07 PM »
I know, sad :/ But nothing else you can actually do without finding every seedlings position, and one more thingthat would be crapped is tghat the seedlings won't have the varying attribs :(

But for now I'm making a save/load function for "Tough Collisions" :D

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #170 on: May 25, 2011, 10:20:02 PM »
Code: [Select]
-0.092614301817784|-0.033666943740996|-0.0015675112872755|-0.00075895622089649|-5.9181165563956e-005|-3.1153533672533e-005|2|1|0.066000000759959|
-66.094856570761|-75.882323731876|-0.00177005091845|0.16381054493077|1.4562314010574e-006|4.4885269368803e-006|1.78|1|2.9939999721944|
-8.8475224795368|-33.804391354459|0.052681760821877|-0.11522255108318|-5.5499821000586e-006|6.8260957899153e-006|1.78|1|0.082000001519918|
1.2463784729883|-75.609026779198|-0.1068262994227|0.17010144972033|-3.1968609870431e-005|1.2109259534869e-005|1.9|1|1.1530000280589|
78.63797036449|61.043499755844|0.073127903462542|0.096889234466921|-4.7110628571054e-005|-1.4736114576687e-005|2.696|1|0.082000001519918|
44.572884178928|38.247044831401|-0.012679897826631|-0.057330794392724|2.8881123357708e-005|4.3639962415557e-005|2.38|1|0.082000001519918|
75.510599849763|18.148281175179|-0.17788871277994|-0.038741802098897|-1.1491766623343e-005|-1.6684903965938e-006|2.06|1|1.2270000252873|
-38.960195775396|46.756176206926|0.063812756214887|0.046060204282989|4.3289812220749e-006|-1.6458391564846e-006|2.26|1|0.64200002811849|
-70.420393459409|22.462400274137|0.042525749917015|0.029119425410296|9.542609146265e-006|1.6230602240458e-005|1.68|1|0.082000001519918|
41.877475129766|73.215157645292|-0.10969354054408|-0.021865929438175|5.440299617117e-006|-1.9690348369526e-005|1.78|1|2.4279999911785|
-26.382650672476|-18.902856193521|-0.059196532615506|0.034467627616724|-1.0582318627099e-005|6.4660490131011e-006|1.62|1|0.70600003115833|
-7.6424160798402|-70.076715151126|-0.14678916246521|-0.057691173411257|3.0707421259163e-006|-1.4947936731156e-006|2.38|1|0.082000001519918|
-61.601044106737|-47.34435976063|0.093019275648765|0.08761447994304|1.5365784766541e-005|1.0249473132916e-005|1.62|1|0.082000001519918|
-80.228755173361|-12.650584112261|0.12835868450721|-0.012514200113014|8.2757081452846e-006|8.6320685601118e-006|1.94|1|0.082000001519918|
23.159969481427|-25.123704104524|-0.16848503553262|0.17494417131664|-1.5021985174732e-006|2.494118343071e-006|2.04|1|0.082000001519918|
79.843032974438|-73.673931942878|0.043409252227917|0.09136489705583|-2.1375542833282e-005|1.0075813621975e-006|2.368|1|0.082000001519918|
-70.684649058975|85.491293231745|-0.13600688459234|0.019052801672317|1.2379577256417e-006|-1.5535329458456e-005|2.24|1|0.082000001519918|
53.588665122706|60.050889050055|0.081933306825834|0.0074376975924834|8.4971062148463e-006|-2.5851442474453e-005|1.6|1|0.082000001519918|
67.582442332479|58.697797157606|-0.046484407922066|-0.016858217191975|-1.2108813632391e-005|-8.502482741794e-006|1.84|1|0.082000001519918|
75.275532269272|-42.123819399824|0.10808454014474|-0.16295351371022|-5.5314294323094e-006|9.8813238791691e-007|2.26|1|0.098000002279878|
-96.453020504494|44.485907906133|-0.042425425878625|0.065861386941521|2.2183326824816e-005|1.4273988943423e-006|1.62|1|0.082000001519918|
-26.906850422729|94.719638278651|-0.086867385657762|-0.017646664958139|-9.1506295324531e-007|-1.0734140841291e-005|2.12|1|0.082000001519918|
64.860245704169|-8.1741652004927|-0.074278597861817|0.043603447692891|-4.1663763204391e-006|5.5069780950268e-007|2.16|1|1.0190000321716|
-8.7805442755023|50.211785486021|0.097493153522531|-0.079866551753526|-4.8018783722441e-005|1.70497655573e-006|1.94|1|0.082000001519918|
-63.223627641602|-25.109169111808|-0.085877903227692|0.13158148683517|8.6717376391042e-006|4.837504082831e-006|1.76|1|0.082000001519918|
50.193716954471|45.845506895218|-0.16972414068949|-0.1477188024367|-3.9401435148776e-006|-1.2101907788115e-006|2.276|1|0.082000001519918|
-6.662916290175|-3.4277490436549|0.14240252833499|0.040412692369575|-5.7842000014941e-006|4.5867795490037e-007|1.74|1|0.082000001519918|
-44.994155990195|-51.897742859361|0.15158169884285|-0.098626468677847|1.6680508214901e-007|2.4303995497445e-006|2.04|1|1.6080000132322|
-90.398741080588|2.4305804203678|-0.12137699095759|0.16749951744541|5.15622300711e-006|3.8034619138075e-006|1.82|1|0.082000001519918|
64.049379844498|-78.936975784796|0.1233569834513|0.093828841219425|-3.3946919454669e-006|1.5558957566087e-008|2.54|1|0.082000001519918|
-66.090660949748|69.728694981785|0.053473086381555|0.15982369558952|-2.6680649098244e-006|-9.0596295973309e-006|1.9|1|0.082000001519918|
-12.533250373412|64.428106952572|0.011479058410825|-0.18886537050484|-6.5940394295006e-006|-1.3352607016622e-005|1.9|1|0.70600003115833|
-85.211584862106|99.67482003335|-0.098557998943147|0.09461288342725|1.1198509368721e-006|-3.4241843300381e-006|2|1|0.082000001519918|
-77.566312208915|-89.734268845128|-0.12190846067966|0.028854750168995|1.4981372417308e-006|1.1246646006092e-006|2.22|1|0.082000001519918|
11.929676879481|-94.213564788347|-0.2145489973698|0.058263283048193|-4.4650559728191e-005|5.0112679703102e-006|2.4|1|2.861999976635|
-63.400833246456|34.781011866306|-0.052928554116572|-0.17586651808218|-5.6044342593024e-006|6.4603720818261e-006|1.9|1|0.082000001519918|
2.9693886078101|-93.454970297293|0.15249466131222|-0.10487910206626|-3.5210527877053e-007|7.5803432812334e-007|1.86|1|0.082000001519918|
-78.160989442637|48.782550860722|-0.013745778640769|-0.13426474610804|1.511732529903e-006|-7.8928959572435e-007|2.32|1|0.082000001519918|
-18.207839304874|47.740003065472|-0.18814659906143|0.14538825926628|-4.0479713097143e-007|-9.4493092799253e-007|1.94|1|0.082000001519918|
-43.59539314518|-11.381886899287|0.020916640384232|0.18991773647627|0|0|2.14|1|0.082000001519918|

Done, now to the loading... loading... grr...

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #171 on: May 25, 2011, 11:25:57 PM »
Well there is a way to reference an array of seedlings or "agents" when they are orbiting an asteroid.  Perhaps you can query these even in mid-flight, and check what their attributes and x/y positions are.

I wouldn't just give up because it looks hard...  especially when you've already got yourself halfway there..

By the way that save file looks insanely complicated :P

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #172 on: May 25, 2011, 11:58:35 PM »
Nahh, it isn't complicated at all(the savefile!), it is just split up with attributes separated with  "|" :)

So the game should recognize it, but I got problems with reading a line x(

I can give the code, if anyone wanna look into it :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #173 on: May 26, 2011, 12:32:33 AM »
Witness my rambling!  Trying to think of some good random events.

1.  Initial colonisation battles...
2.  Comet flyby with enemies jumping off.
3.  Rotating moon(s) around the entire belt, enemies jumping off.
4.  Black holes suck nearby units into oblivion - player must run their units around to avoid these wandering monsters.
5.  Dimensional eclipse - sun goes black - player cannot grow any units for a period of time (this would be in combination with an invasion event)
6.  Tanky or high-dps rogue lasermine interventions from 2) or 3)



I'm thinking 15-20 asteroids for the central belt.  10 units to build or upgrade a tree.  Upgrades could be random; range, damage, health, number of lasers.  Stats could be randomised upon initial planting; use a random slot filling technique to calculate attributes based on asteroid size.

Randomise the asteroid size?  Hmm, no.  That would cause serious trajectory problems for the comet fly-by.

How to create a mines-instead-of-seeds for planting mechanic?  I'd still want to use the Build Tree button.  Shoudl I actually let the trees grow?  Maybe.  I can set the number of seeds required to equal 5000 when no mines are present, but 0 when there are suffiicient mines.  I'll have to create all of the mines manually so I can refer to them, I guess.  Building a tree destroys 10 mines.

Hmm.  This is all a bit ambitious.  Need to make the asteroid field first.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #174 on: May 26, 2011, 01:02:37 AM »
Nice, I guess... I can't imagine all that at once xD

But I jsut found out that I need a new format! All variables at each line! :D Perfect huh? Size consuming? Both! :D

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #175 on: May 26, 2011, 01:13:36 AM »
And one more awesome thing I've donne with the saving system is to make it automatically make a saving folder, it's named EufloriaSaves and is located directly at the C drive :)

So if any of you wanna use that, jsut copy this crap over:

Code: [Select]
if not io.open(BasicSaveFolder .. "acces.acces") then
os.execute("mkdir " .. BasicSaveFolder)
io.output(io.open(BasicSaveFolder .. "acces.acces", "w"))
io.write("Don't delete this file unless you want to remove the Eufloria Saves. Thank you!")
io.close()
end

Where BasicSaveFolder = "C:\\EufloriaSaves\\"

I don't know if this is only compatible with windows, if so I'm sorry :/

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #176 on: May 26, 2011, 01:25:51 AM »
It worked at first try! It's amazing :D

So now to update the map :P

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #177 on: May 26, 2011, 02:22:31 AM »
Imma guess that \ is the Lua escape character then?

Also, I made a black hole template that should still work if you don't want to make your own.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #178 on: May 26, 2011, 02:25:23 AM »
Heh, I just make them black holes for fun... And hoping they won't come to earth...

Just do whatevery you want, right now I don't want to claim to do something here on the forum :)

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #179 on: May 26, 2011, 02:47:31 AM »
Ok, gonna make an even more feature rich save system, quicksave and quickload/loadlast :D

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #180 on: May 26, 2011, 03:01:23 AM »
Just a thought - how is this going to work with other stuff? Y'know, like IAI, AAI, blackholes, gravity etc.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #181 on: May 26, 2011, 03:07:31 AM »
Well, The save works simple, you store all the infor you want to store in a file, so for each attribute or anything, you just add something.

Code: [Select]
io.output(io.open(BasicSaveFolder .. savename .. ".TCS", "w"))
local txt = "truesave\n"
for i = 1,NumDrawings do

txt = txt .. Px[i] .. "\n"
txt = txt .. Py[i] .. "\n"
txt = txt .. Vx[i] .. "\n"
txt = txt .. Vy[i] .. "\n"
txt = txt .. Ax[i] .. "\n"
txt = txt .. Ay[i] .. "\n"
txt = txt .. Mass[i] .. "\n"
if Drawn[i] == true then
txt = txt .. "1" .. "\n"
else
txt = txt .. "0" .. "\n"
end
if IsAlive[i] == true then
txt = txt .. "1" .. "\n"
else
txt = txt .. "0" .. "\n"
end
if i < NumDrawings then
txt = txt .. SpawnP[i] .. "\n"
else
txt = txt .. SpawnP[i]
end

end
io.write(txt)
io.close()

This is a part of the saving system, as you see it stores all the attributes of the dots on each line, you can just add more and more attributes in here. So for gravity, well just add it in and you end up with gravity... So what I mean is that the system is very dynamic :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #182 on: May 27, 2011, 09:34:36 PM »
Will be releasing a new map-making tool later today.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #183 on: May 27, 2011, 09:49:18 PM »
A map making tool o.O

So thats the new mechanic :D

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #184 on: May 27, 2011, 09:55:06 PM »
Nah, this is seperate to the new mechanic I made.

I decided to make a map-making tool because I can't be bothered figuring out the coordinates asteroids should go at.  So I've made a point-and-click asteroid positioner and sizer.  When you're finished you click a button and it will dump the code to make that configuration of asteroids to a file.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #185 on: May 27, 2011, 10:08:50 PM »
And it works properly? :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #186 on: May 27, 2011, 10:38:29 PM »
See for yourself.  :>

dragoonreas

  • Seedling
  • **
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 37
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #187 on: May 28, 2011, 12:15:25 AM »
Ok, gonna make an even more feature rich save system, quicksave and quickload/loadlast :D

I was looking over the functions in the Eufloria Lua scripting reference post here and was wondering what stats the following two functions saved and loaded, and whether or not there is any overlap between what stats you're trying to save manually.
Code: [Select]
SaveStats(string filename) e.g. SaveStats("myfile.bin") - saves out the current game stats to the given file
LoadStats(string filename) e.g. LoadStats("myfile.bin") - loads myfile.bin into the current stats register

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #188 on: May 28, 2011, 12:25:25 AM »
I think they save things like how many levels you've completed, which achievements you've completed, etc.  The stuff we're saving for this is the position and size of asteroids.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #189 on: May 28, 2011, 12:37:13 AM »
And the files you get are completely useless for my purpose :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #190 on: May 30, 2011, 03:53:48 PM »
Spent some time working on the new level last night.  Going well so far.  :>

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #191 on: May 30, 2011, 05:13:27 PM »
Aww, I wanna see what it is D:

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #192 on: May 30, 2011, 05:28:16 PM »
Well, the thing I was working on most recently was figuring out a way that Mines can be grown from trees.. and how to plant a tree using 10 mines.  That part is working good.  :>  I also did some testing on ordering the mines to move around... that part doesn't work quite how I'd like it, but I might be able to figure out a solution there..

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #193 on: May 30, 2011, 05:35:58 PM »
That might be hard... I got no real idea without getting into not working or crash... Moving mines with triggering doesn't seem to work so good, but I dunno...

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #194 on: May 30, 2011, 07:44:01 PM »
Well, if I tell a bunch of mines to go to an asteroid, they do it.

The problem is that they ignore the send distance of the asteroid they are travelling from, and just go straight towards the destination asteroid without having to cross the intervening asteroids first like seedlings would.

This behaviour is a bug with the mine:SendTo() command unfortunately.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What are you working on? :D
« Reply #195 on: May 30, 2011, 09:25:18 PM »
I spoke with Rudolf today, apparently he and Alex are about a week away from finishing the PSN port.  They are currently doing final level tweaks, bug fixes, and preparing for the submission to Sony QA.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #196 on: May 30, 2011, 09:34:09 PM »
Great! Can't wait :D

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #197 on: May 31, 2011, 10:48:05 PM »
Yay, working on a 2D blocky "game", like minecraft and terraria...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #198 on: May 31, 2011, 10:55:18 PM »
And it looks alright already, got infinite terrain and stuff, jsut gotta fix two things: making terrain look nice and not so totally random(though it is random o.O) and gravity/collision through objects...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: What are you working on? :D
« Reply #199 on: June 09, 2011, 10:49:47 PM »
Aww, I got no imagination anymore D:

I can't even code a map :/