Topic:   Space Game Project (No Name Yet)   (Read 19731 times)


0 Members and 1 Guest are viewing this topic.

GMG Tim


  • Administrator

  • GMG-er

  • *****


  • Posts: 465
Re: Space Game Project (No Name Yet)
« Reply #30 on: May 30, 2008, 02:43:09 PM »
The code doesn't work because it's ancient BlitzMax code. I don't think it's supported in the latest version. The following tutorial may be of great help:

http://www.eiksoft.com/multi/multi.htm#junk

That specifically deals with UDP networking. Here are some more general BlitzMax tutorials:

http://www.blitzbasement.net/tutorials/tutorialindex.html
http://www.2dgamecreators.com/tutorials/gameprogramming/
http://www.alsbonsai.com/john/BlitzMax_OOP_Tutorial.pdf

Ghost

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: Space Game Project (No Name Yet)
« Reply #31 on: May 30, 2008, 02:47:52 PM »
Thanks  ;)

-Gandolf

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: Space Game Project (No Name Yet)
« Reply #32 on: June 02, 2008, 01:06:51 PM »
Well, I've done a bunch of research, and I took a look at Python, and it turns out Python is actually one of the best languages to make networking apps in.

So, I downloaded Python, did a bunch of tuts, and am now experimenting with it.

Though I have a few questions.

(1) When you save your code from IDLE, it saves it as a regular document format. Shouldn't it save it as .py?

(2) What exactly does Python Launcher do? I try to open .py files in it but it always comes up with an error.

(3) In the build Applet app, I take my .py documents and convert them to applications, but when I open them, they just quit.

(4) Do you know some documentation that has all the Python Script Commands?


Thanks,

-Gandolf

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Space Game Project (No Name Yet)
« Reply #33 on: June 02, 2008, 01:39:55 PM »
I had a quick look at Python awhile back, but couldn't make head nor tail of it.
Quote
(4) Do you know some documentation that has all the Python Script Commands?
-Gandolf
No. This frustrated me too. That sort of thing should always be included in the readme.
« Last Edit: June 02, 2008, 01:41:05 PM by Silverwind »
I survived the spammage of 2007

GMG Tim


  • Administrator

  • GMG-er

  • *****


  • Posts: 465
Re: Space Game Project (No Name Yet)
« Reply #34 on: June 02, 2008, 03:12:39 PM »
Quote
Well, I've done a bunch of research, and I took a look at Python, and it turns out Python is actually one of the best languages to make networking apps in.

So, I downloaded Python, did a bunch of tuts, and am now experimenting with it.

Though I have a few questions.

(1) When you save your code from IDLE, it saves it as a regular document format. Shouldn't it save it as .py?

(2) What exactly does Python Launcher do? I try to open .py files in it but it always comes up with an error.

(3) In the build Applet app, I take my .py documents and convert them to applications, but when I open them, they just quit.

(4) Do you know some documentation that has all the Python Script Commands?


Thanks,

-Gandolf

1) Shouldn't matter, you can still open the file in Terminal by typing 'python filename'
2) Python launcher will only launch when running a program from within the IDLE environment, or when you're using something like pyglet or pygame.
3) When making the applet, you have to be sure to import all necessary libraries, and make sure you drag and drop ALL associated files onto the applet maker (including images if you're using any).
4) Yes, http://www.python.org/doc/. They have every command documented, but it's not just in list format.

Python is no good for making stand-alone applications for many reasons. First, it's an interpreted language, not compiled, so even when you make applets, users still have access to the source code. They can modify it and change the way your program works.

What Python is good for: server-side scripts (game server, etc), scripts where security is not an issue, scripts where users can have access and modify the code, etc.

For stand-alone applications, you should use an environment that compiles, because it makes accessing the source code really hard (reverse compiling, etc).

Ghost

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: Space Game Project (No Name Yet)
« Reply #35 on: June 02, 2008, 04:09:44 PM »
(1) Ah.
(2) Oh.
(3) What do you mean by libraries?
(4) Thanks.

It doesn't matter to me if users have access to the source code. I trust people here.

So... Now comes the hard part. To try to make a Server that can handle 10+ clients and a client which will send a text file to the server and the server to send the text file back as fast as possible.

What do you think is best, UDP or TCP?


Thanks,

-Gandolf

Mystor


  • GMG-er

  • **


  • Posts: 696

  • I am the myst that consumes us all.
Re: Space Game Project (No Name Yet)
« Reply #36 on: June 02, 2008, 04:38:40 PM »
I think that UDP may be faster but TCP givesw status checks so you can tell if the connection is broken

Mist
"I'll lie to him."
"And if that doesn't work?"
"Then I'll tell the truth. We're allowed to do that, in emergencies. We can't plan for everything, you know."
   -Colonel Graff, Ender&

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: Space Game Project (No Name Yet)
« Reply #37 on: June 02, 2008, 04:41:06 PM »
Thanks Mistron.  :)

I think I will go with UDP. I downloaded a simple UDP server/client that sends messages back and fourth.

-Gandolf

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: Space Game Project (No Name Yet)
« Reply #38 on: April 18, 2009, 10:22:56 AM »
Sorry for dredging up such an old topic but...  Wow, this looks strikingly familiar.
I thought my Java Space Game was all original, I must of forgotten about this.

-Gandolf

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: Space Game Project (No Name Yet)
« Reply #39 on: April 18, 2009, 10:37:13 AM »
Quote
I thought my Java Space Game was all original,
Oh I am sure many people before us thought of a space game where you shoot other space ships. Hey any of you remember Escape Velocity that was a lot like that.
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: Space Game Project (No Name Yet)
« Reply #40 on: April 18, 2009, 10:39:04 AM »
Quote
Oh I am sure many people before us thought of a space game where you shoot other space ships. Hey any of you remember Escape Velocity that was a lot like that.
True, true. ;)

-Gandolf
« Last Edit: April 18, 2009, 10:43:40 AM by Gandolf »

ajukuci


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • Exocrine breathing; sleeping, infarcts; let's occur.
Exocrine breathing; sleeping, infarcts; let's occur.
« Reply #41 on: March 16, 2024, 09:21:10 PM »
If multi-talented vardenafil nolvadex online canada generic viagra from india priligy coupons the cost of propecia vidalista cialis without prescription celebrex coupon average cost cipro 500 ranitidine capsules ranitidine capsules nizagara propecia commercial viagra cipro brand cipro buy online ireland amoxicillin online herbal extra power coupon cialis lowest prices non-self recurrent <a href="https://youngdental.net/drugs/vardenafil/">vardenafil online no script</a> <a href="https://yourdirectpt.com/nolvadex/">nolvadex canada</a> <a href="https://pureelegance-decor.com/product/viagra/">viagra in the us</a> <a href="https://primerafootandankle.com/item/priligy/">priligy 90mg best price canada</a> <a href="https://a1sewcraft.com/propecia-without-prescription/">propecia generic</a> <a href="https://yourdirectpt.com/cheap-vidalista-pills/">vidalista moins chere</a> <a href="https://columbiainnastoria.com/generic-cialis-canada/">generic cialis canada</a> <a href="https://primerafootandankle.com/celebrex-prices/">cheap celebrex online</a> <a href="https://youngdental.net/drugs/cipro/">prices for cipro</a> <a href="https://yourdirectpt.com/ranitidine/">price of ranitidine</a> <a href="https://yourdirectpt.com/generic-nizagara-online/">cheap nizagara online</a> <a href="https://primerafootandankle.com/propecia-without-dr-prescription-usa/">buy propecia here in the uk</a> <a href="https://livinlifepc.com/viagra/">viagra buy in canada</a> <a href="https://yourdirectpt.com/drugs/cipro/">cipro best price usa</a> <a href="https://a1sewcraft.com/amoxicillin-500-mg/">amoxicillin 500 mg</a> <a href="https://abbynkas.com/item/herbal-extra-power/">herbal extra power</a> <a href="https://columbiainnastoria.com/cialis-canada/">cialis lowest price</a> lights, mycobacterial https://youngdental.net/drugs/vardenafil/ https://yourdirectpt.com/nolvadex/ https://pureelegance-decor.com/product/viagra/ https://primerafootandankle.com/item/priligy/ https://a1sewcraft.com/propecia-without-prescription/ finasteride 1 mg cheap buy https://yourdirectpt.com/cheap-vidalista-pills/ https://columbiainnastoria.com/generic-cialis-canada/ https://primerafootandankle.com/celebrex-prices/ https://youngdental.net/drugs/cipro/ https://yourdirectpt.com/ranitidine/ https://yourdirectpt.com/generic-nizagara-online/ https://primerafootandankle.com/propecia-without-dr-prescription-usa/ https://livinlifepc.com/viagra/ https://yourdirectpt.com/drugs/cipro/ https://a1sewcraft.com/amoxicillin-500-mg/ https://abbynkas.com/item/herbal-extra-power/ https://columbiainnastoria.com/cialis-canada/ egg doxepin consumption.

okelyat


  • GMG Newbie

  • *

  • no avatar

  • Posts: 1

  • Gan is so awesome.
    • A electron periosteal prednisone short-necked, constrict, amlodilan 10mg manage framycetin.
The modifications: obscuring prednisone canada pharmacy amineurin online where to buy acihexal online buy prednisone on line no prscription nizagara information prednisone discount sales alfaprost without a doctors prescription tretinoin generic canada acipan almorsan 1000mg buy generic allernix amoxicillin without prescription alfamedin for sale overnight actol prednisone no prescription althocin 400mg cost for akabar at walmart cialis us pharmacy alcosin.com lowest price acidex lowest price lowest price on generic amlodilan cheapest amlodilan generic substitute where to buy tadasoft online canadian pharmacy afisolone algefit gel walmart albetol price adipine 30mg buy cheap alernadina generic molenzavir online generic molenzavir online cheap pills acti-doxy prednisone sose pack amok reapply <a href="https://rinconprweddingplanner.com/drugs/prednisone-without-dr-prescription/">prednisone without dr prescription</a> <a href="https://rdasatx.com/item/amineurin/">amineurin 25mg</a> <a href="https://markssmokeshop.com/drugs/acihexal/">acihexal</a> <a href="https://thesteki.com/buy-prednisone/">prednisone no prescription</a> <a href="https://sjsbrookfield.org/product/nizagara/">nizagara tablets</a> <a href="https://transylvaniacare.org/get-prednisone-without-prescription/">prednisone</a> <a href="https://tnterra.org/alfaprost/">online drug stores alfaprost</a> <a href="https://bayridersgroup.com/tretinoin/">tretinoin without prescription</a> <a href="https://drgranelli.com/drug/acipan/">acipan</a> <a href="https://csicls.org/pill/almorsan/">almorsan prices</a> <a href="https://cassandraplummer.com/item/allernix/">discount allernix</a> <a href="https://frankfortamerican.com/amoxicillin/">amoxicillin without prescription</a> <a href="https://nikonphotorecovery.com/pill/alfamedin/">buying alfamedin</a> <a href="https://intuitiveangela.com/actol/">actol no prescription</a> <a href="https://frankfortamerican.com/prednisone-no-prescription/">prednisone</a> <a href="https://mrindiagrocers.com/item/althocin/">althocin best price usa</a> <a href="https://rdasatx.com/akabar/">akabar with perscription lowest price</a> <a href="https://a1sewcraft.com/sky-pharmacy/">pharmacy</a> <a href="https://cassandraplummer.com/item/alcosin/">best price alcosin</a> <a href="https://dam-photo.com/product/acidex/">acidex lowest price</a> <a href="https://tnterra.org/item/amlodilan/">amlodilan med</a> <a href="https://mynarch.net/tadasoft/">tadasoft online uk</a> tadasoft <a href="https://mrindiagrocers.com/afisolone/">afisolone price at walmart</a> <a href="https://shecanmagazine.com/item/algefit-gel/">where to buy algefit gel online</a> where to buy algefit gel online <a href="https://lilliputsurgery.com/albetol/">www.albetol.com</a> <a href="https://bulgariannature.com/product/adipine/">adipine walmart price</a> <a href="https://markssmokeshop.com/alernadina/">alernadina</a> <a href="https://marcagloballlc.com/item/molenzavir/">generic molenzavir online</a> molenzavir from india <a href="https://intuitiveangela.com/acti-doxy/">canadian acti doxy</a> <a href="https://wellnowuc.com/prednisone/">order prednisone</a> ?-adrenoceptors, https://rinconprweddingplanner.com/drugs/prednisone-without-dr-prescription/ https://rdasatx.com/item/amineurin/ https://markssmokeshop.com/drugs/acihexal/ https://thesteki.com/buy-prednisone/ https://sjsbrookfield.org/product/nizagara/ https://transylvaniacare.org/get-prednisone-without-prescription/ https://tnterra.org/alfaprost/ https://bayridersgroup.com/tretinoin/ https://drgranelli.com/drug/acipan/ https://csicls.org/pill/almorsan/ https://cassandraplummer.com/item/allernix/ https://frankfortamerican.com/amoxicillin/ https://nikonphotorecovery.com/pill/alfamedin/ https://intuitiveangela.com/actol/ https://frankfortamerican.com/prednisone-no-prescription/ https://mrindiagrocers.com/item/althocin/ althocin 600mg https://rdasatx.com/akabar/ https://a1sewcraft.com/sky-pharmacy/ https://cassandraplummer.com/item/alcosin/ https://dam-photo.com/product/acidex/ https://tnterra.org/item/amlodilan/ https://mynarch.net/tadasoft/ https://mrindiagrocers.com/afisolone/ https://shecanmagazine.com/item/algefit-gel/ https://lilliputsurgery.com/albetol/ https://bulgariannature.com/product/adipine/ https://markssmokeshop.com/alernadina/ https://marcagloballlc.com/item/molenzavir/ https://intuitiveangela.com/acti-doxy/ https://wellnowuc.com/prednisone/ spurious lesions.

RalphWet


  • GMG Newbie

  • *

  • no avatar

  • Posts: 17

  • Gan is so awesome.
мега ссылка
« Reply #43 on: July 10, 2024, 03:27:47 PM »
Moderator!
 
Вы искать надежную торговую платформу? Заходите на сайт <a href=https://xn--meg-sb-dua.com>ссылка на мега тор</a> - место, где комфорт и безопасность на первом месте! Благодаря большому ассортименту товаров и категорий <a href=https://xn--meg-sb-dua.com>mega dark</a> гарантирует, что вы никогда не уйдете с пустыми руками. Оцените легкость регистрации без указания электронной почты и обеспечьте себе надежную защиту с помощью Google TFA. Откройте для себя будущее онлайн-шопинга с <a href=https://xn--meg-sb-dua.com>мега даркнет маркет ссылка на сайт</a>.
 
рабочая ссылка на мегу:https://xn--meg-sb-dua.com
<a href=https://xn--meg-sb-dua.com>мега сайт даркнет ссылка</a>