Re: Showing code on a webpage.
Re: Showing code on a webpage. So to sho lt;a href="" google.lt/agtThat would show it in code? URL: https://forum.audiogames.net/post/428991/#p428991 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Player related stuff, need help.
Re: Player related stuff, need help. Well ok, let's try to get you to code it then, because I don't know how you want it to work. So, first let's examine the jump. What takes place when you jump? When you jump, you begin ascending. While ascending, you gradually rise upward. At the peak of your jump, you hang in the air, and then begin descending at the same speed. Now how would you code this? Well, after you press up arrow, you, obviously, need to play jump, set jumping to true so that it knows your in the air, and set ascending to true because that's what you do next. Then, you need to make an if statement, saying if(jumping==true), witch will be true the entire time you are in the air. Inside this if statement is more if statements. First, you need to make the player gradually rise, so everytime the risetimer or jumptimer is elapsed>=jumptime. rise by 1, update listener position. Once you are above your maximum jump height, you want to descend. Skip this part if you don't want your player to hang in the air for a moment when at the peak of there jump. So, if you want them to hang, you would have to say, still in the jumping==true statement, if(Atapex==true and apextimer.elapsed>=apextime) then you would start descending. So obviously, in your if statement to check if your above the jump height, you would set apex=true;. Descending is just the same as ascending, except with ascending==false instead of true. Once you are back at 0, or where you jumped from, just play land.ogg, and set jumping to false and you should be good. I hope this helped a bit. URL: https://forum.audiogames.net/post/444127/#p444127 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Player related stuff, need help.
Re: Player related stuff, need help. Ok, that was a different way to do jumping, try this.int jumptime=100; //the player will rise every 100 m/s. timer jumptimer; int ty1,ty2; bool jumping=false; bool ascending=false; //now for jumping code if(key_pressed(KEY_UP) and jumping==false) { jumping==true; ascending==true; spool.play_stationary("jump.ogg",false); ty=y; ty2=y+5; } if(jumping==true) { if(ascending==true and jumptimer.elapsed>=jumptime) { jumptimer.restart(); y++; spool.update_listener_1d("y"); } if(y>=ty2) { ascending=false; } if(ascending==false and jumptimer.elapsed>=jumptime) { jumptimer.restart(); y-=1; spool.update_listener_1d("y"); } if(y<=ty1 and ascending==false) { y=ty1; jumping=false; spool.update_listener_1d("y"); p.play_stationary("land.ogg",false); } }That'll need some polishing and messing with to fit your game, but ask if you have any more questions. URL: https://forum.audiogames.net/post/444113/#p444113 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: moving players in angles like in FPS type games
Re: moving players in angles like in FPS type games I haven't tested this out, but I'm sure you could do it with a bit of math.Asuming you allready have a 3d map system, all you need to do when moving is incorporate degrees. This is also different if you want full 360 degree, or just set directions like north, northeast, southwest, etc.I don't know exactly how you'd go about this, but the second option seems loads easier than the first. Probably some equations to check facing and then move differently based on that. URL: https://forum.audiogames.net/post/444829/#p444829 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: how to tell bgt a music track has looped
Re: how to tell bgt a music track has looped try this:sound s; void main() { s.play(); if(s.playing==false) { s.pitch++; s.play(); } } URL: https://forum.audiogames.net/post/452048/#p452048 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Enemy update sound question for bgt.
Enemy update sound question for bgt. So I'm trying to make a simple enemy, just to see how it works, and for some reason, I can't quite figure out how to make it play a loop over it that moves with it.The enemy moves completely randomly, full 3d, so it moves forward, backward, left, and right, and 45 degrees maybe for higher level enemies. And I want them to play random loops for each enemy, but I don't know how to have the loops stay on the enemies. Please help? URL: https://forum.audiogames.net/post/453045/#p453045 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Enemy update sound question for bgt.
Re: Enemy update sound question for bgt. yes but how do I make it just update the p sound_pool position for that specific enemy.In the enemyloop function I have a for loop that goes through all the enemies and then does all the things, but how would I make it update for enemys[i]? URL: https://forum.audiogames.net/post/453221/#p453221 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Enemy update sound question for bgt.
Re: Enemy update sound question for bgt. ok, and how do you play a sound using a specific slot, by the name of enemys[i].sound? URL: https://forum.audiogames.net/post/453227/#p453227 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: live radio or televisyon channel on BGT?
Re: live radio or televisyon channel on BGT? @7, IF THIS IS TRUE, THEN IT WOULDN'T BE VARY HARD METHINKS? You'd just use the http function thingy ma bob too download a file and play it? Methinks? URL: https://forum.audiogames.net/post/456359/#p456359 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
A good reverb handler for bgt?
A good reverb handler for bgt? I do have camerlin or however you spell it from Sam's site, but I'm not sure how good that really is I haven't messed with it. If it's the same or similar to Mason and Sam's LAV, then I don't want it it can burn, that is laggy!Anyway, are they're any bgt reverb handlers, or even libraries that work with bgt that have documentation? URL: https://forum.audiogames.net/post/455443/#p455443 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Making a music player in bgt, but a bit more complicated.
Making a music player in bgt, but a bit more complicated. So, I want to make a music player, witch in theory, doesn't sound too hard. But there are two problems.I want this to just play by going to the next in the selected folder, because my tracks aren't just music1.asdfghjkl, music2.asdfghjkl, I use the actual music's name. So there's one thing.The second thing is, this will be part of a larger scale game, witch you can unlock the music tracks in game, via some thing or another.So, first, how would I make a music player, using a music sound object, so that I can manipulate volume and stuffages, but also make it go by file via folder layout, instead of by number? And also make it so that they will only show up in the menu if they are unlocked?I don't want to make a bool for every damn file lol. URL: https://forum.audiogames.net/post/456238/#p456238 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: live radio or televisyon channel on BGT?
Re: live radio or televisyon channel on BGT? I mean, if you just want to play a file from your computer that isn't encoded or encrypted in anyway, sure! But otherwise, if you mean actually connect to a radio station or tv channel, ain't no way in the 9 hells! URL: https://forum.audiogames.net/post/456239/#p456239 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Making a music player in bgt, but a bit more complicated.
Re: Making a music player in bgt, but a bit more complicated. Ok, thank you for the replies, I will try these responses. URL: https://forum.audiogames.net/post/456262/#p456262 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: how to make events randomly pop up in bgt
Re: how to make events randomly pop up in bgt Just make a timer for it, and if statements saying if the timer elapses a random amount, do that. URL: https://forum.audiogames.net/post/456261/#p456261 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: An issue
Re: An issue I'm asuming you've already talked to someone who might have the ability to change things for you? Cause if not, do that!If your in the U.S, they legally have to provide materials and make things accessible for you, but that's a loose thing and schools like to argue around it so they don't have to pay money, but I believe your extra program is free. They would simply have to monitor it to make sure it wasn't harmfull or anything.If they refuse to help you, then your just screwed, unless you can think of a way to use the original program.One solution is too bring your own computer. But that might also not work depending on what the dependincies of the grades in the class are. URL: https://forum.audiogames.net/post/456775/#p456775 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: slope formula or someting similar?
Re: slope formula or someting similar? Let's say your using a map engine like sbyw's.Too make a staircase, you could do something like:tile 0 0 0 0 0 1 stairstile 1 1 0 0 1 2 stairstile 2 2 0 0 2 3 stairsAnd then you'd have to make walls under the steps so that people don't fall between them:tile 1 1 0 0 0 0 walltile 2 2 0 0 1 1 walltile 3 3 0 0 2 2 wallSomething like that.You could, of course, just make a check to see if the tile is a staircase, and if so, then make it move in that direction, but also one up.Just some ideas. URL: https://forum.audiogames.net/post/457627/#p457627 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: how to make an inventory with bgt
Re: how to make an inventory with bgt amerikranian wrote:I would use a dictionary because it will allow for multiple items of the same quantity, unless you wish the inventory array to contain multiple item arraise.This is true, but if you only want one of each item, then just use a string[] inventory array, and append items to the array as @2 said. URL: https://forum.audiogames.net/post/457629/#p457629 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: how to make an inventory with bgt
Re: how to make an inventory with bgt @7, He's not as advanced as us and I was just explaining it in further detail.@6, I don't remember the exact function, but go to the manual/references/one of the sections/arrays, something like that, and there's a array.add_last type function, something like that, don't remember off the top of my head. URL: https://forum.audiogames.net/post/457678/#p457678 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: issue attempting to load sounds
Re: issue attempting to load sounds You don't need to load things in pool: It's really easy! Just do something like this:soune_pool spool; if(key_pressed(KEY_A) and instrament=="drum") { spool.play_stationary("drum0.wav",false);//where false is if it loops or not. } URL: https://forum.audiogames.net/post/457754/#p457754 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: splitting my python code into multiple .py files like in bgt
Re: splitting my python code into multiple .py files like in bgt Can't you just import them like librarys? I don't python much so sorry if this is dumb. URL: https://forum.audiogames.net/post/457752/#p457752 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Experience with the Masonasons Game Engine?
Experience with the Masonasons Game Engine? I was thinking about buying this but I want to know what people's experiences/thoughts are with the engine before I do so, considering Mason doesn't have a reviews section on his page or anything like that.10 dollars, especially if I don't know if and when I'll be using it any time soon is a lot, but at the same time, I think it would be worth it, I just want to here feedback about it. URL: https://forum.audiogames.net/post/459204/#p459204 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Experience with the Masonasons Game Engine?
Re: Experience with the Masonasons Game Engine? Ok, thank you for the responses.@nuno, I know right! They're graite! Us damn mud people and our breeding. URL: https://forum.audiogames.net/post/459229/#p459229 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Experience with the Masonasons Game Engine?
Re: Experience with the Masonasons Game Engine? @2 thank you, I asumed as much, especially because we already have map engines floating around here. Thank you. URL: https://forum.audiogames.net/post/459208/#p459208 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: classes in classes in bgt, can i do that?
Re: classes in classes in bgt, can i do that? @7 woops, @5 posted litterally as I was posting @6 lmfao. URL: https://forum.audiogames.net/post/459638/#p459638 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: classes in classes in bgt, can i do that?
Re: classes in classes in bgt, can i do that? @4 I'm not sure that's what he asking.@3 can you please explain it for me more?I think he's asking for something that can randomly generate 1 to a random amount of questions and or answers based on the answers and or questions given? URL: https://forum.audiogames.net/post/459576/#p459576 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: item class in python?
Re: item class in python? Basically same for bgt with different syntax and execution. Basically make an array: obj@[]objs(0); Then Then a class object Then x=0 then a def spawn then add it to the array. Easy! Obviously this is flawed, but it's the basics. URL: https://forum.audiogames.net/post/460874/#p460874 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Declaring the contents of an array in a function call, bgt.
Re: Declaring the contents of an array in a function call, bgt. This worked, thank you! URL: https://forum.audiogames.net/post/460837/#p460837 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: item class in python?
Re: item class in python? Here's how I would do it in bgt. obj@[]objs(0);//The array of items. class obj { int x,y,loop; obj(int ox, int oy) { x=ox; y=oy; loop=p.play_2d("loop.ogg",me.x,x,y,false);//I don't remember the code to make it play on a slot, I can look later. } } void objloop() { for(int i=0; i URL: https://forum.audiogames.net/post/460911/#p460911 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Declaring the contents of an array in a function call, bgt.
Re: Declaring the contents of an array in a function call, bgt. @6 thanks! I will try that when I get home!Does it matter that I declared the messages array in the dialogue function? URL: https://forum.audiogames.net/post/460643/#p460643 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Where to begin?
Re: Where to begin? What I do is write down ideas like Ashley, then create my hole folder hierarchy for my game, then make the main script and set up any initializing script if I want to have a seperate script for vars and imports, sorry, includes, then I just write a bunch of variables that I think i might need.I always go and write classes either as I'm making the game or before, and the build the game around those classes. URL: https://forum.audiogames.net/post/460879/#p460879 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: item class in python?
Re: item class in python? Here's how I would do it in bgt. obj@[]objs(0);//The array of items. class obj { int x,y,loop; obj(int ox, int oy) { x=ox; y=oy; loop=p.play_2d("loop.ogg",me.x,me.y,obj.x,obj.y,obj.z,false);//I don't remember the code to make it play on a slot, I can look later. } } void objloop() { for(int i=0; i URL: https://forum.audiogames.net/post/460911/#p460911 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Learning Lua, worth it and where?
Re: Learning Lua, worth it and where? @2 thank you.@3 as well as Lua, are there any, besides obvious ones like python and c languages, that you would recommend? Maybe ruby or unity? Any others you think would be a good fallback for when bgt dies haha. URL: https://forum.audiogames.net/post/462295/#p462295 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: audiogames and the sighted
Re: audiogames and the sighted This is a cool part of newer games like Fortnight.People actively say that listening to the sounds actively help them play better.I feel like sighted people are so thrown off by the lack of visuals and the fact that they don't use sounds for most things. URL: https://forum.audiogames.net/post/460704/#p460704 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Declaring the contents of an array in a function call, bgt.
Re: Declaring the contents of an array in a function call, bgt. So any time I wanted to call a dialogue function, I'd first have to update that dialogue array, and then call the function? URL: https://forum.audiogames.net/post/460556/#p460556 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Audo saving your game in BGT?
Re: Audo saving your game in BGT? Asuming you have a save function, any time you want to auto save, save();. URL: https://forum.audiogames.net/post/460557/#p460557 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Audo saving your game in BGT?
Re: Audo saving your game in BGT? Wait, bgt has it's own save and load functions beyond serializing? I need to learn serializing if not, ug. URL: https://forum.audiogames.net/post/460688/#p460688 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Audo saving your game in BGT?
Re: Audo saving your game in BGT? Wait, bgt has it's own save and load functions beyond serializing? I need to learn serializing if not, ug. URL: https://forum.audiogames.net/post/460689/#p460689 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: audiogames and the sighted
Re: audiogames and the sighted From what I understand, there are 60 frames a second, dependent on your framerate, witch makes timing things so hard.If I ever release something with graphics, I will need someone sighted for even the code. URL: https://forum.audiogames.net/post/460687/#p460687 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: BGT game code
Re: BGT game code @2 that does not change anything. URL: https://forum.audiogames.net/post/460239/#p460239 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Learning Lua, worth it and where?
Learning Lua, worth it and where? So I was tasked with writing an essay about a few scripting and or programming languages, and one of my choice was Lua.As I researched it, I thought, hey! This looks good!My question is should I? And where can I learn it?Also, I've downloaded lua disc.zip for windows 64, how do I use this so that I can make lua scripts? It only contains include, lib, and share folders. URL: https://forum.audiogames.net/post/462251/#p462251 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Declaring the contents of an array in a function call, bgt.
Declaring the contents of an array in a function call, bgt. I have a function, that takes messages that you give it and then goes through a for loop of them and makes them display. Here's the code:void dialogue(string[] messages, string title, int pausetime) { for(int i=0; iNow how would I call that function and put all my messages into that one string? I'm vary confused about this and the bgt manual doesn't show any way to do this. I definitely don't want to messages.insert_last, because that would defeat the purpose of the function. URL: https://forum.audiogames.net/post/460481/#p460481 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Declaring the contents of an array in a function call, bgt.
Declaring the contents of an array in a function call, bgt. I have a function, that takes messages that you give it and then goes through a for loop of them and makes them display. Here's the code:void dialogue(string[] messages, string title, int pausetime) { for(int i=0; iNow how would I call that function and put all my messages into that one string? I'm vary confused about this and the bgt manual doesn't show any way to do this. I definitely don't want to messages.insert_last, because that would defeat the purpose of the function. URL: https://forum.audiogames.net/post/460481/#p460481 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: how to tell bgt a music track has looped
Re: how to tell bgt a music track has looped and you could just add a counter if you want it to play a certain amount of times e.g: sound s; s.play(); int count=1; if(s.playing==false and count<1010101001) { s.pitch__; counter++; s.play(); } URL: https://forum.audiogames.net/post/452167/#p452167 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Strange class issue, bgt.
Strange class issue, bgt. Hello,So at the end of my post is the code for the spikes, but the way they work is that when they're not active, they start a timer. When this timer elapses, they become non active again.While active, if you walk within 2 tiles of them, you get skewered. But here's the problem, if I have multiple spikes, they all hit me, even if I'm only on one of them. Here's the code. spike@[] spikes(0); bool shitby=false; class spike { int numb=random(1,4); int x,y; bool active=false; timer activetimer; int activetime=random(300,500); spike(int sx, int sy) { x=sx; y=sy; } } void spikeloop() { for (uint i=0; i=spikes[i].activetime) { spikes[i].active=true; spikes[i].activetimer.restart(); p.play_3d("sounds/spike"+spikes[i].numb+".ogg",me.x,me.y,me.z,spikes[i].x,spikes[i].y,0,false); } else if(spikes[i].active==true and spikes[i].activetimer.elapsed>=spikes[i].activetime) { spikes[i].activetimer.restart(); spikes[i].active=false; shitby=false; } if(me.x>spikes[i].x-2 and me.xspikes[i].y-2 and me.y URL: https://forum.audiogames.net/post/452360/#p452360 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: a little assistance with BGT
Re: a little assistance with BGT One issue I saw is that when you tell it to play, your not supposed to give the filename too, piano1.play();, the play function takes no arguments, you allready told it what sound to play. URL: https://forum.audiogames.net/post/452378/#p452378 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Enemy update sound question for bgt.
Re: Enemy update sound question for bgt. Thanks for the help, I will look at that.The funny thing is, I don't usually have trouble with this, this kind of stuff is kind of below me in ability, but for some reason I just couldn't think of a way to do it.Also, I couldn't find the function to play a sound with a specific slot, that was my problem.Thanks for the help... URL: https://forum.audiogames.net/post/453258/#p453258 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Writing a bgt script to get misc stats about another script?
Writing a bgt script to get misc stats about another script? I want to write a script that will print to a log file that tells a bunch of things like: Lines in main script, and then lines in total scripts, main script+includes.Same thing, but with number of chars.And then stuff like total vars, total ints, strings, bools, classes, etc.And a bunch of misc stats like that.I also want this to work in tandom with the generate_profile function, pasting all the other stats after the info from generate_profile. But, of course, I don't want it to be deleted when generate_profile happens. Any ideas on how to write this? if it's even possible? URL: https://forum.audiogames.net/post/449497/#p449497 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: remastered: How to code in python tutorials
Re: remastered: How to code in python tutorials Hi.I love the tutorials so far, they're vary helpful.When do you think part two is coming out? I can't wait for it! URL: https://forum.audiogames.net/post/449640/#p449640 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: looking to create a game
Re: looking to create a game If you want a programming language, I would recommend python, maybe c#, _javascript_. URL: https://forum.audiogames.net/post/449694/#p449694 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Logically coding logical AI's that do logical things?
Logically coding logical AI's that do logical things? Note: All of my code samples are in bgt, as it's the only language I'm confident in enough to do with this.So, logically, you can make a simple AI, by following something like this:void botloop() { for(i=0; ipos) { enemies[i].pos--; playstep(); } //etc and if(enemies[i].inrange==true) { enemies[i].attack(); } //etc } } All this would do is move toward you, and attack when in range. This is dumb, and it has no reguard for other things such as moving around walls in a 3d or 2d grid, aiming correctly if there is rotation, or dodging or blocking attacks if that were possible. Of course, we can solve the navigational thing with a pathfinder... maybe? But the other ones confused me. Does anyone, including Aprone, know or is willing to share how Aprone makes AI's in Swamp, or how similar ones are made? This is just logically, unless you want to provide sample bgt code. I'd like logic first though to see if I can do it on my own. Sub question: Is making AI's that learn, inside of a game, possible... And if so, how?Cheers:Redfox. URL: https://forum.audiogames.net/post/463138/#p463138 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: PHP, getting started?
Re: PHP, getting started? @op, I use xampp, and it works like a charm.Here is my process:In c:\xampp\hdocx make your files.File: Index.php: Php Test. phpinfo?> Then, run http://localhost in your web browser. Note! It can not! Be https, it is not a secure server, and doesn't run with the appended s.Let me know if this works.hth. URL: https://forum.audiogames.net/post/463137/#p463137 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
The Rpg Tools Pack, a small set of Bgt Includes.
The Rpg Tools Pack, a small set of Bgt Includes. Hi!This pack, as you will see in the readme, came about from people doing things like: dlg("Story point1."); dlgplay("next"); dlg("Storypoint 2."); dlgplay("next"); //etc etc etcFor like 250 lines, when trying to write a story in bgt.This pisses me off to no end so I was like, let's fix it, and here you are!These includes make use of Mason's dlg concept and expand apon it, allowing you to do as many messages as you want, with one simple line. Take these lines into thought:dlg("1");dlg("2");dlg("3");...That's a pain in the ass if you want to go to like 10 or something, so what you can do is:dialogue(array={"1","2","3","..."},"Counting",300);Those extra params are explained in the readme.So if you want to check this out, go here!Please note: The pack will soon be moved to google drive or some other hosting survice, if I can figure out how to make download links for everyone for google drive.Cheers:Redfox. URL: https://forum.audiogames.net/post/463212/#p463212 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: PHP, getting started?
Re: PHP, getting started? @6 mwaha, I also learned that the hard way. URL: https://forum.audiogames.net/post/463185/#p463185 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
The Rpg Tools Pack, a small set of Bgt Includes.
The Rpg Tools Pack, a small set of Bgt Includes. Hi!This pack, as you will see in the readme, came about from people doing things like: dlg("Story point1."); dlgplay("next"); dlg("Storypoint 2."); dlgplay("next"); //etc etc etcFor like 250 lines, when trying to write a story in bgt.This pisses me off to no end so I was like, let's fix it, and here you are!These includes make use of Mason's dlg concept and expand apon it, allowing you to do as many messages as you want, with one simple line. Take these lines into thought:dlg("1");dlg("2");dlg("3");...That's a pain in the ass if you want to go to like 10 or something, so what you can do is:dialogue(array={"1","2","3","..."},"Counting",300);Those extra params are explained in the readme.This also includes a few functions for music and sounds, but nothing major.These files are easily translated to other languages, witch I might do at some point. Also, I am still in development of these and will absolutely take ideas and critisisms.So if you want to check this out, go here!Please note: The pack will soon be moved to google drive or some other hosting survice, if I can figure out how to make download links for everyone for google drive.Cheers:Redfox. URL: https://forum.audiogames.net/post/463212/#p463212 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. @3, is your problem with the way the example is shown as array? Cause that's the syntax, or are you anoyed at the example? URL: https://forum.audiogames.net/post/463273/#p463273 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. @3, sorry for double post, but I tried to make a Github account but there's a capsha that I can't do... What do I do? URL: https://forum.audiogames.net/post/463277/#p463277 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: I made a game but it won't run
Re: I made a game but it won't run Lol, help me! But I"m not going to tell you how to help me! Figure it out! URL: https://forum.audiogames.net/post/446059/#p446059 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Need help with a script
Re: Need help with a script microsoftsam203 wrote:Hello,Thanks a lot for the help.I still have some questions. #Don't get the user input in the function, as doing so will basically cause them to reenter a number every time a program runsI don't get this. Can you explain why this happens?The way you coded it... Everytime the code loops, it calls the countdown function. The issue with this is that at the start of the countdown function, it will ask for input, so it will start counting, and imidiately stop because your asking for a new number.Why does input only work for strings and not for integers? I don't see why input cant work for ints.The input function just basically makes an input box. As shown @2, it is very easy to convert it to an integer.Why does it break after it gets to 0? I mean why doesn't it keep printing blastoff!?I'm not a hundred percent on the syntax for python, but the reason it keeps going is that you call countdown again.What I would do is put that in a while loop and break after you print blastoff.Is this forum only for game development or for development in general?Please elaborate on this question.Thanks a lot. URL: https://forum.audiogames.net/post/472030/#p472030 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Need help with a script
Re: Need help with a script @6, are you refering to my suggestion of using a while loop?I'm not very experienced in python and didn't realize that you could return from a def like that. URL: https://forum.audiogames.net/post/472147/#p472147 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. @22, not sure if this is your issue, but the play function automatically prepends sounds/, so just type play(soundfile);. If you wanta change it, just go to the function. URL: https://forum.audiogames.net/post/477407/#p477407 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. Well, which one are you talking about? Because there is examples on everything except m_pro in there so... URL: https://forum.audiogames.net/post/477467/#p477467 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. I think I put a play_loop function in there, but if not, my B.Just put this code into your files, because I'll be adding it:void loop(string s) { p.play_stationary("sounds/"+s+"",true); } URL: https://forum.audiogames.net/post/477709/#p477709 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Logical: Realistic Weaponry and Amunition?
Logical: Realistic Weaponry and Amunition? Hello, my fellow "Programming Elites!"This doesn't have to be in code, just logic, or pseudocode if you like. But how would you program as realistically as possible, weaponry and ammunition.I read up on this a bit, and was thinking:For melee weapons, you would probably use raycasting. Raycasting is a system used in fps games that would basically make a ray and throw it in the direction faced, starting, usually, at the muzzle of a gun. This would instantaneously travel the range specified and if there was something hittable in that, it would just hit it, no time would pass, it would just happen. I wouldn't use this for guns because it offers no chance to react, not that you really have a ton of time IRL anyway, but still.Firearms and bullets are another thing though.Maybe give ideas for properties, how they would effect player[s], and what they might do and how?Peace. URL: https://forum.audiogames.net/post/479035/#p479035 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Logical: Realistic Weaponry and Amunition?
Re: Logical: Realistic Weaponry and Amunition? Ok, at everyone, anything you've seen before in games or haven't seen that you think could be done better or actually done, and if so, why, and how? URL: https://forum.audiogames.net/post/479227/#p479227 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Html, javascript, css, php, collapsable lists/accordians?
Html, _javascript_, css, php, collapsable lists/accordians? I want to make a collapsable list, like an accordian, but the example on w3schools doesn't work and every thing I've tried won't work.I even tried to puzzle out how Nathan did it on nathantech.net, but it only works for one item and you gotta add a bunch of extra shit if you want to have multiple dynamic items.Does anybody know a good way to have items in a list, with a link, button, or clickable that you can click on to expand lists, that would say expanded or collapsed based on what that list is? URL: https://forum.audiogames.net/post/484938/#p484938 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: what is the problem with this bgt code
Re: what is the problem with this bgt code lmfao, was trying to see if he could figure it out on his own, but that works too. URL: https://forum.audiogames.net/post/469681/#p469681 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: bgt, sorting number array from least to gratest
Re: bgt, sorting number array from least to gratest @op, why is that second array there?I would do something like this:uint j; file f; string[] array; int index=0; double[] numarray; void main() { //open existing values f.open("test.txt","r"); array=string_split(f.read(),"\n",false); f.close(); //convert string values to integers for(uint j=0;j URL: https://forum.audiogames.net/post/470265/#p470265 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Interacting with TTS in BGT
Re: Interacting with TTS in BGT Also, for reference, Sam Tupy has a tts class in his developer programs section. URL: https://forum.audiogames.net/post/470267/#p470267 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: what is the problem with this bgt code
Re: what is the problem with this bgt code @3, the same error would occur because of the locally stated variable in the input boxes. URL: https://forum.audiogames.net/post/469594/#p469594 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: what is the problem with this bgt code
Re: what is the problem with this bgt code Your issue is that the string you created is only alive while that function is alive.Variables come in two fashions: personal and global. Personal isn't the right term for it but I'm tired ok?Personal variables are variables created in the midst of a game, in a function.Global variables are ones that have been created out of functions.Take this example.int x;void main(){int y;}The x value would be reachable from anywhere in the code. But the y value, because it was created inside a function, would only work in the main function.Let me know if this helps.P.S. I know the solution to your problem, but I want to see if you can figure it out yourself first. URL: https://forum.audiogames.net/post/469577/#p469577 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. Well, as you would see in the readme, there isn't much to that file, anything usable in that release at all.So once I add more logic and stuff to it and make it actually work, then yup! URL: https://forum.audiogames.net/post/478025/#p478025 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Falling Rocks like in Ohshit?
Falling Rocks like in Ohshit? Hi, I wanted to make falling rocks like in Oh Shit and Oh Fuck in 3d, in bgt.Also, does anybody know a good way to handle 3d bullets with facing, like for cannonballs that can face at angles? URL: https://forum.audiogames.net/post/478083/#p478083 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. @6, what? URL: https://forum.audiogames.net/post/463313/#p463313 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. @9, I see what your saying. I'll fix it later. URL: https://forum.audiogames.net/post/463330/#p463330 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. Hi all!Yes, I'm still working on this, but am facing difficulties because I have nowhere to host, because github gives me audio challenges that won't show up!I'm continuing to try to fix it, but in the mean time, still know that I am working on this and willing to take suggestions and critisisms.I have recently started indenting, maybe a little bit because of your guys' points, which are correct.I've switched the readme to a much more well layed out html file, and cleaned up the function explaanations.I've continued work on the object classes, and are working my way towards releasing that.A few more menu functions are added.@Ironcross: Could you give a few points that you don't like about the way I coded parts of this? @ironcross: What do you mean things aren't in functions?There isn't any main loops in this code, and everything is split into tiny, quick use functions to make things a lot easier.If you think I overdid it with the functions then please explain, but for right now, I don't understand where your coming from.Mr. Ironcross wrote:A lot of the BGT code I've seen is just horrible. Now, I have never got closed source stuff, but the things I've seen just... bleh. And I won't pretend to be something I'm not and sit here and act like I'm some hot shot programmer but... No classes, or use of includes and no user written classes. No organizing code into functions where it would make sense to do so. I.e. everything is just in the main loop, where I might create a function to grab input, put that in the loop, then one for checking for collisions, and another for updating the sound pool. You also have no, and I do mean no indenting. So the code is just nasty, messy, and way to drawn out and not efficient.Thank you for reading and have a good day! URL: https://forum.audiogames.net/post/466525/#p466525 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. @20 thank you very much kind stranger. URL: https://forum.audiogames.net/post/467404/#p467404 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: The Rpg Tools Pack, a small set of Bgt Includes.
Re: The Rpg Tools Pack, a small set of Bgt Includes. @18, responded. Thanks!@17, if I need this I will take you up on it, but not yet. URL: https://forum.audiogames.net/post/466893/#p466893 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Ok bgt, what the hell?
Ok bgt, what the hell? So I have the following code fragment as a computer class. Yes, I know it's messy, and I didn't include all of the code, bite me it's just for messing around. Anyway, the loop=p.play part won't work even though I know it works with the exact syntax in other games. Does somebody see something I don't? comp@[]comps(0); class comp { timer walktimer; int walktime; bool hittable=true; int points=1; int type=0; bool enemy=true; double x=random(0,maxx); double y=random(0,maxy); double z=0; double ox,oy,oz; int target; int loop; comp(int t, int wt, bool hit, int p, , bool enemy, double cx, double cy, double cz) { type=t; if(type=="test") { walktime=350; } walktime=wt; hittable=hit; points=p; curse=curse; curses=curses; x=cx; y=cy; z=cz; enemy=enemy; ox=cx; oy=cy; oz=cz; loop=p.play_2d("sounds/"+type+".ogg",me.x,me.y,cx,cy,true); }Cheers. URL: https://forum.audiogames.net/post/466936/#p466936 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Ok bgt, what the hell?
Ok bgt, what the hell? So I have the following code fragment as a computer class. Yes, I know it's messy, and I didn't include all of the code, bite me it's just for messing around. Anyway, the loop=p.play part won't work even though I know it works with the exact syntax in other games. Does somebody see something I don't? comp@[]comps(0); class comp { timer walktimer; int walktime; bool hittable=true; int points=1; int type=0; bool enemy=true; double x=random(0,maxx); double y=random(0,maxy); double z=0; double ox,oy,oz; int target; int loop; comp(int t, int wt, bool hit, int p, bool curse, int curses, bool enemy, double cx, double cy, double cz) { type=t; if(type=="test") { walktime=350; } walktime=wt; hittable=hit; points=p; curse=curse; curses=curses; x=cx; y=cy; z=cz; enemy=enemy; ox=cx; oy=cy; oz=cz; loop=p.play_2d("sounds/"+type+".ogg",me.x,me.y,cx,cy,true); }Cheers. URL: https://forum.audiogames.net/post/466936/#p466936 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Ok bgt, what the hell?
Re: Ok bgt, what the hell? 0Sorry, forgot to give information, it compilation errors and says something about invalid int or similar. URL: https://forum.audiogames.net/post/467158/#p467158 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Example.bgt?
Re: Example.bgt? lmfao lmfao lmfao lmfao lmfao!@4, fuck you you fucking piece of muther fucking bitch ass shit!I mean... I was just kidding @2 though. URL: https://forum.audiogames.net/post/467609/#p467609 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Example.bgt?
Re: Example.bgt? Read the fucking manual. URL: https://forum.audiogames.net/post/467582/#p467582 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Example.bgt?
Re: Example.bgt? There is code in the manual.Explain what you are having trouble? URL: https://forum.audiogames.net/post/467783/#p467783 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Example.bgt?
Re: Example.bgt? @Jaydon, why are you so angry? URL: https://forum.audiogames.net/post/467944/#p467944 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Example.bgt?
Re: Example.bgt? Ok, this has blown waaay! Out of proportion and needs to stop.Ethan is right, Jaydon did not clarify anything in his original post.He said,The vary angry man wrote:Hello people. I was looking for an example game so i could learn how to programme in bgt.Nowhere in The Vary Angry Man's post does it say, I need help with classes because the manual doesn't help... So, instead of freaking out, be calm, explain your issues and I might help you.I will write up a small guide on classes, although, the manual does give a quite large amount of info on it. Please tell me what your issue is? URL: https://forum.audiogames.net/post/468161/#p468161 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Curious about the userdata BGT class
Re: Curious about the userdata BGT class @Cmary, I shall look through and see if I can figure out a couple things for you, but if you can't, then we'll see how it goes. URL: https://forum.audiogames.net/post/488539/#p488539 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Curious about the userdata BGT class
Re: Curious about the userdata BGT class Update:I've been messing around with it, and I'm pretty sure I get it to save, but I'm not sure how to get it to load. The developer was mean and didn't provide any examples or explanations as to how to use it lmfao. URL: https://forum.audiogames.net/post/488542/#p488542 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: could someone make me a visitor counter?
Re: could someone make me a visitor counter? Honestly, I wouldn't use Php for this, but I also don't use Php for anything, because it's disgusting and I hate it.I'd probably just use _javascript_ and send an HttpRequest to your server that says: "Yo, I gots a new visitor." and the server's like: "Ah ite, that's cool." And it updates the counter, and then sends back a packet with the amount of visitors.Also, why does security matter? It's not like it does any harm if someone gets a hold of his visotrs file. The worst I could see them doing is grabbing it, writing a number that _javascript_ can't handle and putting it back, but I don't even know if you can do that or if _javascript_ will throw errors if you go over it's number limit, or just round it.Also consider I know jack shit about security and all that. URL: https://forum.audiogames.net/post/579804/#p579804 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: file packer other than lucia's file packer
Re: file packer other than lucia's file packer And becides, I haven't yet seen a license that puts a hard floor on your encryption of assets. Sure, they say don't redistribute them or whatever, but that falls under an unencrypted pack, just as long as they aren't entirely open for the user to just grab. URL: https://forum.audiogames.net/post/564470/#p564470 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Why do people still use bgt?
Re: Why do people still use bgt? Funnily enough, I was one of those twelve year olds who picked up Bgt because I wanted to make games. I was lucky enough to meet people a lot older than me who showed me that there's more to the field of Programming, Computer Science even, than just games. However, that only came after a horribly bumpy road, that still leaves it's marks on me three or so years later. When I code, I still see the stupid mistakes, I often get confused over things that I rightfully shouldn't at my level, and the main reason I see for this is Bgt.Another good point, is that you can't do much more than games with Bgt. You can make like... I don't know, a music player? And even that requires you to jump through some hoops with skills that someone who learned purely from the Bgt manual, especially in disjointed manners as most people seem to do, are not going to understand.Going into the world of Python showed me that there is a lot more to Computer Science than games. There's web design, database management, backend design, the list goes on.Also, the people who hope to turn there Bgt... skills... into a career are in for a shock, as they're going to show these games they've made to there interviewer and get laughed at. URL: https://forum.audiogames.net/post/563454/#p563454 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Why do people still use bgt?
Re: Why do people still use bgt? unnily enough, I was one of those twelve year olds who picked up Bgt because I wanted to make games. I was lucky enough to meet people a lot older than me who showed me that there's more to the field of Programming, Computer Science even, than just games. However, that only came after a horribly bumpy road, that still leaves it's marks on me three or so years later. When I code, I still see the stupid mistakes, I often get confused over things that I rightfully shouldn't at my level, and the main reason I see for this is Bgt.Another good point, is that you can't do much more than games with Bgt. You can make like... I don't know, a music player? And even that requires you to jump through some hoops with skills that someone who learned purely from the Bgt manual, especially in disjointed manners as most people seem to do, are not going to understand.Going into the world of Python showed me that there is a lot more to Computer Science than games. There's web design, database management, backend design, the list goes on.Also, the people who hope to turn there Bgt... skills... into a career are in for a shock, as they're going to show these games they've made to there interviewer and get laughed at. URL: https://forum.audiogames.net/post/563454/#p563454 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: file packer other than lucia's file packer
Re: file packer other than lucia's file packer There's lot's of crypto librarys for Python, pycrypttotemx, zip, etc. As 2 said, there's not a lot of point in actually incrypting them, but if you need to pack them for legal reasons or just cause it makes you feel better, you can always just write one up real quick. I've never done it, but it doesn't seem to difficult. URL: https://forum.audiogames.net/post/564139/#p564139 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Audio formats with python gaming
Re: Audio formats with python gaming I personally used oggs before when I realized that the size of the archive isn't all that important, especially when traded for such a compressed and low quality format, so I usually just stick with .wav. However, I'm not very experienced with much other than the standard few audio file types, like Mp3, Ogg, Ogv, Wav, etc, so I might not be the best consultant. URL: https://forum.audiogames.net/post/564234/#p564234 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Twisted an UI's?
Re: Twisted an UI's? @2, are you saying you wouldn't recommend Twisted for networking development? If so, which libraries would you recommend for Python? Are there any languages becides Python that I would have an easier/better time with networking? URL: https://forum.audiogames.net/post/572603/#p572603 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: serializeing in python?
Re: serializeing in python? If we were talking about simple in program data, such as variables. I would just dump them in JSON, store them somewhere, and maybe do a light incryption if I had the means and patience.For Assets, Lucia has a Packer utility, however I can't vouch for it's power. URL: https://forum.audiogames.net/post/552775/#p552775 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Can any one please help me with this bullet class, python?
Re: Can any one please help me with this bullet class, python? Remember, this isn't BGT, where every god forsaken variable is accessible from anywhere. You don't have to worry about conflictions with variable names with something outside of the class and inside, provided you have the class's self keyword. What's that called by the way? I've noticed you can place anythin in the place of self inside of method declarations and you can then use that keyword instead of self, I asume this is bad habbit, hence, I don't do it. URL: https://forum.audiogames.net/post/558033/#p558033 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Can any one please help me with this bullet class, python?
Re: Can any one please help me with this bullet class, python? @17.This is fair. However, i've found that my own scripting is more recognizable to me if I do all of the formatting myself. May just be a preference, though. URL: https://forum.audiogames.net/post/559327/#p559327 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Can any one please help me with this bullet class, python?
Re: Can any one please help me with this bullet class, python? I'd recommend Pep8 except for the fact that you might not understand a lot of it's terminology.But yeah, a bullet, by design, is usually something that moves on a predetermined path, and constantly checks if it is inside of anything it needs to interact with.This is different depending on the game, obviously, but they usually work the same. URL: https://forum.audiogames.net/post/558623/#p558623 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: some bgt errors that i couldn't debug
Re: some bgt errors that i couldn't debug Also, it'd probably help if you read the tutorial first... URL: https://forum.audiogames.net/post/547066/#p547066 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: some bgt errors that i couldn't debug
Re: some bgt errors that i couldn't debug How? That tutorial is one of the easiest to understand Tutorials I've found, and I've looked througgh a good amount. URL: https://forum.audiogames.net/post/547965/#p547965 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector