Advertisement



Go Back   Zune Boards > Zune Discussions > Zune Games > Development Discussions

New Member?



 
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
LinkBack Thread Tools
Old 08-10-2008, 04:03 PM   #1 (permalink)
Experienced Zuner
 
Epoc's Avatar
 
Join Date: Sep 2007
Location: Vermont
Posts: 177
Reputation: 18
Default A new way to program?


while going over some tutorials, it occurred to me that you can use notepad to program, I actually knew this before, but, it made me think, if there was a notepad app for zune that could create and save .txt files, could you create an interface that can read those files and then use them? the only problem would be the files like pictures, unless zpaint could be integrated. This doesn't seem like it would be something that couldn't work, but eh, just wondering if it is possible/ thought of before. if



__________________
\nn/===IRON MAIDEN RULES===\nn/

Xbox live/Zune= Epocilyps. Invites are fine. need people with zunes on my friends list.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.





Epoc is offline   Reply With Quote
Old 08-10-2008, 04:08 PM   #2 (permalink)
Zune Guardian
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 738
Reputation: 74
Send a message via AIM to ShotgunSnipist
Default

Wait...
So your planning to program with the zune?
You mean like type up a program with the zune then save it and use it on the zune as a zune game?
__________________
Invisible Text. =P
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



ShotgunSnipist is offline   Reply With Quote
Old 08-10-2008, 04:28 PM   #3 (permalink)
Purger of Ignorance
zB Programmer
Section Staff
Super Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 1,670
Reputation: 231
Send a message via MSN to Netrix
Awards Showcase
Favorite zB Extremity 
Total Awards: 1
Default

Actually... I was just thinking about this recently. You could very well so some sort of scripting. An example:

Code:
:begin
:int variable
:variable add 5
:variable multi 2
:end
You could have the Zune game read the first line, which tells it to start the script. The second line would tell the game to create a new integer. The third would tell it to add 5 to the variable. The fourth would tell it to multiply the variable by 2. The last would tell it to end the script, of course.

That is just an example... I am sure there is better syntax for such a thing, but the idea is the same.

The practicality of this is questionable, but I think in certain cases it could be useful to an extent. It is also greatly limited in what it can do, because you can not read true C# source code from a text file and have it run it. The source code would have to be compiled. The syntax and functions that we can understand mean nothing to Zune games. Thus, any code that you would want to read from a text file within the Zune game would have to be translated manually via a custom parser that is hardcoded into the Zune game.

This means that you can not create true Zune games within a Zune game.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


Zune Book Reader!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Last edited by Netrix : 08-10-2008 at 04:30 PM.




Netrix is offline   Reply With Quote
Old 08-10-2008, 04:31 PM   #4 (permalink)
Experienced Zuner
 
Epoc's Avatar
 
Join Date: Sep 2007
Location: Vermont
Posts: 177
Reputation: 18
Default

well, not necessarily, but something like that. but something of the sort.maybe a similar word selection as in visual studios, make things a little easier. maybe hit play/pause to access it. but really it would be for small app creating, or creating on the go. maybe being able to import half-finished code and being able to edit them? it was more of a question than a current project...

and to netrix, I see... I wasn't positive that it would work, due to the text files being within the game, and doing so without proper loading to the device. it would probably just be a text file within a program without the proper loading through visual studios.
__________________
\nn/===IRON MAIDEN RULES===\nn/

Xbox live/Zune= Epocilyps. Invites are fine. need people with zunes on my friends list.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Last edited by Epoc : 08-10-2008 at 04:37 PM.





Epoc is offline   Reply With Quote
Old 08-10-2008, 04:52 PM   #5 (permalink)
Purger of Ignorance
zB Programmer
Section Staff
Super Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 1,670
Reputation: 231
Send a message via MSN to Netrix
Awards Showcase
Favorite zB Extremity 
Total Awards: 1
Default

Quote:
Originally Posted by Epoc View Post
well, not necessarily, but something like that. but something of the sort.maybe a similar word selection as in visual studios, make things a little easier. maybe hit play/pause to access it. but really it would be for small app creating, or creating on the go. maybe being able to import half-finished code and being able to edit them? it was more of a question than a current project...

and to netrix, I see... I wasn't positive that it would work, due to the text files being within the game, and doing so without proper loading to the device. it would probably just be a text file within a program without the proper loading through visual studios.
Yeah.. You just can not compile source on the Zune. I used to program on my Pocket PC using PocketC. Runtimes had to be installed to run PocketC applications. The runtimes would interpret the code and behave accordingly. Something similar could be done for the Zune.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


Zune Book Reader!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Netrix is offline   Reply With Quote
Old 08-10-2008, 05:01 PM   #6 (permalink)
Experienced Zuner
 
Epoc's Avatar
 
Join Date: Sep 2007
Location: Vermont
Posts: 177
Reputation: 18
Default

Maybe after you've written the program, you can take the .txt file from the game, it can then be synced into the program. maybe it can be used in conjunction with zune home? though again, if you need to sync it with the computer, It wouldn't really be practical, unless you were on a long trip without a computer.
__________________
\nn/===IRON MAIDEN RULES===\nn/

Xbox live/Zune= Epocilyps. Invites are fine. need people with zunes on my friends list.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.





Epoc is offline   Reply With Quote
Old 08-10-2008, 05:17 PM   #7 (permalink)
Purger of Ignorance
zB Programmer
Section Staff
Super Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 1,670
Reputation: 231
Send a message via MSN to Netrix
Awards Showcase
Favorite zB Extremity 
Total Awards: 1
Default

Quote:
Originally Posted by Epoc View Post
Maybe after you've written the program, you can take the .txt file from the game, it can then be synced into the program. maybe it can be used in conjunction with zune home? though again, if you need to sync it with the computer, It wouldn't really be practical, unless you were on a long trip without a computer.
At this point, there is no simple way to get files from Zune games and put them on your computer. The only way is to get the data through the debugging trace. Basically, whatever you create in a Zune game stays in the Zune game.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


Zune Book Reader!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Netrix is offline   Reply With Quote
Old 08-10-2008, 05:44 PM   #8 (permalink)
Experienced Zuner
 
Epoc's Avatar
 
Join Date: Sep 2007
Location: Vermont
Posts: 177
Reputation: 18
Default

yeah, I didn't think there was really a way, save z unlocker, and i'm not sure how that would really work in the first place. but anyway, maybe it'll be inplemented in the actual release. eh, who knows...
__________________
\nn/===IRON MAIDEN RULES===\nn/

Xbox live/Zune= Epocilyps. Invites are fine. need people with zunes on my friends list.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.





Epoc is offline   Reply With Quote
Old 08-10-2008, 05:52 PM   #9 (permalink)
Purger of Ignorance
zB Programmer
Section Staff
Super Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 1,670
Reputation: 231
Send a message via MSN to Netrix
Awards Showcase
Favorite zB Extremity 
Total Awards: 1
Default

Quote:
Originally Posted by Epoc View Post
yeah, I didn't think there was really a way, save z unlocker, and i'm not sure how that would really work in the first place. but anyway, maybe it'll be inplemented in the actual release. eh, who knows...
Using the HD hack will not give you access to files that are inside your Zune games. They are in a protected part of the hard drive that no one can access through Windows Explorer.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


Zune Book Reader!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Netrix is offline   Reply With Quote
Old 08-10-2008, 06:40 PM   #10 (permalink)
Jr. Member
 
Anachostic's Avatar
 
Join Date: Jun 2007
Posts: 407
Reputation: 77
Default

Very clever idea; sounds like my QuickExec utility. I don't think the libraries are available on the Zune to do ad-hoc compiling and executing.




Anachostic is offline   Reply With Quote
Old 08-11-2008, 04:35 AM   #11 (permalink)
Purger of Ignorance
zB Programmer
Section Staff
Super Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 1,670
Reputation: 231
Send a message via MSN to Netrix
Awards Showcase
Favorite zB Extremity 
Total Awards: 1
Default

Quote:
Originally Posted by Anachostic View Post
Very clever idea; sounds like my QuickExec utility. I don't think the libraries are available on the Zune to do ad-hoc compiling and executing.
I was thinking about this because when I am out, I still want to make progress with my 'epic' game that I am making. Right now, I can only run the game and think about what things need to be fixed, but I would just have to try to remember what needs to be done and I often forget a few things before I make it back to my laptop. So I was thinking I could add a notepad into the game, which I activate/deactivate with the back button, since I do not use it in the game (for now). That way I could write down what needs to be fixed and any ideas of which I think when I am out.

That got me thinking about creating text within the game and having the game respond to it.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


Zune Book Reader!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Netrix is offline   Reply With Quote
Old 08-11-2008, 08:54 AM   #12 (permalink)
zB Programmer
Jr. Member
 
DiNoGames's Avatar
 
Join Date: May 2008
Location: Bremen, germany
Posts: 454
Reputation: 246
Send a message via Skype™ to DiNoGames
Default

To be honest, I don't think that this is worth coding it. You will not be able to "make games" on the Zune itself. The notepad as some kind of integration to write down ideas might work, but I'd suggest, before you program a parser that understands simple lines of code, try making a cool game. The "write games on the Zune" thing will definetely not work in a satisfying way. You can't add new graphics or sound and you can't debug. To be honest, you will not be able to do anything on it, except adding some values or similar, but where is the sense in this?

Make games, no useless stuff...
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.







DiNoGames is offline   Reply With Quote
Old 08-11-2008, 09:01 AM   #13 (permalink)
Experienced Zuner
 
Epoc's Avatar
 
Join Date: Sep 2007
Location: Vermont
Posts: 177
Reputation: 18
Default

like I said, I didn't plan on building a portable game programmer, but was curious about if writing a .txt file on the zune could actually lead to having a program run on the zune. if it could work, I suggested having something like zune paint also integrated to create the new graphics, not that that has been released either, but it was just a question, and Netrix had the same idea, so it wasn't like it was a horribly bad idea, just something for programmers on the go, without a laptop.
__________________
\nn/===IRON MAIDEN RULES===\nn/

Xbox live/Zune= Epocilyps. Invites are fine. need people with zunes on my friends list.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.





Epoc is offline   Reply With Quote
Old 08-11-2008, 09:56 AM   #14 (permalink)
you lost the game.
zB Programmer
Section Staff
Zune Freak
 
itsnotabigtruck's Avatar
 
Join Date: May 2008
Posts: 1,216
Reputation: 462
Awards Showcase
Best username 
Total Awards: 1
Default

Yeah, in order to be useful, a script engine needs to be so complicated that it would defeat the purpose in the first place.

Also you can write XNA games entirely using Notepad if you really want to. Visual Studio is just a fancy interface for the C# compiler, which you can run from a command prompt.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

signature by
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




itsnotabigtruck is offline   Reply With Quote
Old 08-11-2008, 02:03 PM   #15 (permalink)
Purger of Ignorance
zB Programmer
Section Staff
Super Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 1,670
Reputation: 231
Send a message via MSN to Netrix
Awards Showcase
Favorite zB Extremity 
Total Awards: 1
Default

Yeah, I agree with the two of you. I do not plan on making such a parser... It was really just theory. I will probably make the notepad thing as a sort of extension so it could be inserted into any game, since I can use some things from the Book Reader and the keyboard from ZIM.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


Zune Book Reader!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




Netrix is offline   Reply With Quote
Reply


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -8. The time now is 08:30 PM.

 
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC8
vB Ad Management by =RedTyger=
(C) ZuneBoards 2006-2007
Copyright © 2006 - 2008 Zune Boards | About Zune Boards | Legal | A member of the Crowdgather Forum Community