Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-17-2012, 07:16 PM   PM User | #1
Taro
Regular Coder

 
Taro's Avatar
 
Join Date: Oct 2011
Location: Geraldton, Ontario
Posts: 155
Thanks: 1
Thanked 1 Time in 1 Post
Taro is an unknown quantity at this point
GML parsing value into save/load file

Hello,

I've had some trouble figuring out how to store a data value, then re-uploading the value into the game.

Code:
m = rm_0//object integrated successfully
obj_fire.x+30
obj_fire.y-15
y=//generate random number here
[0]=0<x<5
[1]= 0
[2]= 0
[3]= 0
file.save(savegame)

file.load(savegame)


I would try to setup multiple arrays to define the value, but the result would come out a 'y equals' solution. The game saves a different value, but loads a the returning file. Is there a better way to reformat this? I've tried other ways, but came to no avail.
__________________
Element ID

Webs Support Helper

Your friendly neighborhood Taroman.
Taro is offline   Reply With Quote
Reply

Bookmarks

Tags
game, language, maker

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:50 AM.


Advertisement
Log in to turn off these ads.