saving objects in bgt

2018-11-06 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
saving objects in bgt I have a working save data function with labeled dictionary as sd. I also have working objects for my script. These objects do work, but as soon as I quit the program they do not save. So what do I need to write for the sd.set line? Sd.set("text here",variable or

skipping numbers in bgt's random generator

2019-01-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
skipping numbers in bgt's random generator I want to allow numbers 1 through 6, not allow 7, but also allow 8. How would I write this line? Also, how would I write a line that allows numbers 1 though 6, skips 7, and allows 8 though 10? Basically eliminating 7 from the list. URL:

skipping numbers in bgt's random generator

2019-01-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
skipping numbers in bgt's random generator I want to allow numbers 1 through 6, not allow 7, but also allow 8. How would I write this line? Also, how would I write a line that allows numbers 1 through 6, skips 7, and allows 8 through 10? Basically eliminating 7 from the list. URL:

Re: skipping numbers in bgt's random generator

2019-01-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: skipping numbers in bgt's random generator When is a do while loop convenient? I have only used while loops URL: https://forum.audiogames.net/post/406262/#p406262 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: hateful rant on arrays

2018-12-25 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: hateful rant on arrays Thank you for the help. It did fix my out of bounds errors. However, I am having the following issue.speak(messages[index-=1}); If index = 5, than it will always speak the message number 4. Say I press left arrow, and I've already heard message 4, it will keep

Re: hateful rant on arrays

2018-12-25 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: hateful rant on arrays that made it work. thank you Ethan. I had no idea an array would be this difficult. But I am much more comfortable using them thanks to the help you have provided. Again thank you. URL: http://forum.audiogames.net/post/400824/#p400824 --

Re: 2 network questions

2018-12-25 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 2 network questions @7 Thank you for the reply. Someone was able to help me configure the new port and it was successful! Thank you for listing the steps, and that it doesn't automatically connect to the computer. URL: http://forum.audiogames.net/post/400833/#p400833 --

Re: 2 network questions

2018-12-26 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 2 network questions I have a question. I am trying to send a packet from one computer to the other, but I don't know what to write when it gets received. I can send them correctly, but what do I type after, if event=event_receive URL: http://forum.audiogames.net/post/400869/#p400869

Re: 2 network questions

2018-12-25 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 2 network questions I know nothing about network connections, lol. Would Can you list the steps I would need to take to get the router to recognize my computer for the local connection I had no idea the game connected to local to begin with, but at least I can get a successful

Re: 2 network questions

2018-12-26 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 2 network questions Update I have figured out how to do it URL: http://forum.audiogames.net/post/401023/#p401023 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: I hate timers!

2018-12-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: I hate timers! yes, the timer is already running. Also, >= does not work.I tried == several times, and it didn't pause, then I tried it a few minutes later and apparently it worked.What I am mainly interested in is playing a sound. I can't use the p.play_stationary to do this, but

I hate timers!

2018-12-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
I hate timers! This is a basic question, but it needs to be answered please. I am using bgt by the way.if(timer.elapsed==13000)No matter what I want to do, pause the timer, play a sound, or anything else, the timer just ignores it and keeps running and nothing happens. How can I fix this

Re: I hate timers!

2018-12-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: I hate timers! I would like the timer to continue URL: http://forum.audiogames.net/post/397927/#p397927 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: I hate timers!

2018-12-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: I hate timers! yes, the timer is already running. Also, >= does not work. I tried it once, and it didn't pause, then I tried it a few minutes later and apparently it worked.What I am mainly interested in is playing a sound. I can't use the p.play_stationary to do this, but dlgplayer

Re: I hate timers!

2018-12-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: I hate timers! Something is clearly wrong. If I have it do the same thing like speak one second, then play a sound the next, it randomly chooses what seconds to do and what seconds to ignore. I have tested this with  playing sounds, and speaking. So what's going on? URL:

The basics of inventory

2018-12-23 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
The basics of inventory Given enough practice and dedication I can eventually code something. So that's not what the issue is. I think I attempt to start coding things without knowing exactly what they are. For example, I know an inventory is used to see details about different items and

Re: hateful rant on arrays

2018-12-24 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: hateful rant on arrays Here’s what I am attempting to do. A message history buffer. Left arrow says previous message and right arrow says the next message. I have the loop for it, but I don’t know what to write for previous and next. I have tried counter plus 1 and minus 1, doesn’t

2 network questions

2018-12-24 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
2 network questions I have read the network chapter in bgt and I understand it. I have 2 questions though.I have built a dreidle game, and it gives you messages when you spin the wheel. How would I put those messages into a packet? The messages are in the function when you spin the wheel,

Re: 2 network questions

2018-12-24 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 2 network questions sorry for posting twice. I have gotten the connection successfully established, and the answer to my second question about player 2 has been answered.I didn't explain question 1 clearly. If player one spins the wheel an the outcome is they gain 15 gold, ow do I send

hateful rant on arrays

2018-12-24 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
hateful rant on arrays I've tried to be calm, I've tried to deal with arrays. But no more! I can't take these things anymore! Arrays have pissed me off more than anything else I've encountered, even more than timers! How the fuck! Do you use these things without getting index out of bounds

Re: hateful rant on arrays

2018-12-25 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: hateful rant on arrays @post4: So like this?Int index=0; then after a new message index+=1; then counter=index. So when I press left arrow: index-=1; speak(messages[counter]); URL: http://forum.audiogames.net/post/400752/#p400752 -- Audiogames-reflector mailing list

Re: 2 network questions

2018-12-25 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 2 network questions the game wants to connect to my local IP, not my general IP or whatever it is called. I have looked at the code for hosting on a server and their is no mention of local verses general IP. So why is it only accepting local?void create(){show_game_window("Game

Re: I hate timers!

2018-12-14 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: I hate timers! Thanks Liam for a new approach. I never thought of it that way. I should take a course on how to think like a coder lol URL: http://forum.audiogames.net/post/398669/#p398669 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: I hate timers!

2018-12-14 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: I hate timers! Thanks Laim for a new approach. I never thought of it that way. I should take a course on how to think like a coder lol URL: http://forum.audiogames.net/post/398669/#p398669 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: html, questions.

2018-12-14 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: html, questions. Lol. Yep that’s it URL: http://forum.audiogames.net/post/398698/#p398698 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: html, questions.

2018-12-13 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: html, questions. Buttons are good for pause and play buttons for audio. Did you know you can make a link that when clicked automatically opens the viewer’s email app and fills in your email in the send to field. Then they don’t have to enter your address, I can give you the code if you

attaching multiple constants to 1 string

2018-11-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
attaching multiple constants to 1 string This issue has pissed me off for many years now. I have a line of code that I don't want very long. To shorten it, I want to be able to write the string, then the starting and ending number. For example, house 1 through 5. Instead of writing

Re: attaching multiple constants to 1 string

2018-11-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: attaching multiple constants to 1 string sorry for posting twice. I just realized this may not be possible since you have to state whether the condition is and, or or. But maybe there is a way to shorten it even if the method I was thinking of doesn't work. Let me know if you have

Re: attaching multiple constants to 1 string

2018-11-28 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: attaching multiple constants to 1 string I should have mentioned what language I am using, sorry for being so dumb. I am a bgt user. And @ post 5, yes, you interpreted my question correctly. BGT needs to be updated to support expressiions such as that one. URL:

Re: redfox's bgt questions?

2018-11-28 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: redfox's bgt questions? get matcher.bgt from oriol gomez.com it is very useful for checking missing quotes, brackets, and parentheses URL: http://forum.audiogames.net/post/395712/#p395712 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Save data without creating a file

2019-01-03 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Save data without creating a file Hi, I have a simple request I told bgt to do. There  are 4 menus that will be presented when opening my app, if the user presses m, they can select which one is active when it opens. However, the setting is only saved until the program exists. Can I save

Save data without creating a file

2019-01-03 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Save data without creating a file Hi, I have a simple request I told bgt to do. There  are 4 menus that will be presented when opening my app, if the user presses m, they can select which one is active when it opens. However, the setting is only saved until the program exists. Can I save

Re: can one class be used for infinite objects?

2019-01-13 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: can one class be used for infinite objects? And a second question. Do I need a central server so I don't have to tell player 1 to send all the messages to every player? Because currently in my game whenever player 4 takes their turn, player 1 sends the messages to everyone else, and

can one class be used for infinite objects?

2019-01-13 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
can one class be used for infinite objects? Ok, so i have a 4 player game where people can connect to my IP and we can play. It supports a  2, 3, and 4 player mode. However, I have made each player have their own everything as variables. I'm not very good at using classes or objects, but

Re: can one class be used for infinite objects?

2019-01-13 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: can one class be used for infinite objects? I have no clue where to even start. To be honest, I've done everything through variables with code, I've written classes before but they never came in use, I just use variables instead. But it is very inefficient and ends up making things

Re: can one class be used for infinite objects?

2019-01-14 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: can one class be used for infinite objects? And a second question. Do I need a central server so I don't have to tell player 1 to send all the messages to every player? Because currently in my game whenever player 4 takes their turn, player 1 sends the messages to everyone else, and

can one class be used for infinite objects?

2019-01-14 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
can one class be used for infinite objects? Ok, so i have a 4 player game where people can connect to my IP and we can play. It supports a  2, 3, and 4 player mode. However, I have made each player have their own everything as variables. I'm not very good at using classes or objects, but

Re: can one class be used for infinite objects?

2019-01-14 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: can one class be used for infinite objects? I have no clue where to even start. To be honest, I've done everything through variables with code, I've written classes before but they never came in use, I just use variables instead. But it is very inefficient and ends up making things

Re: 2 network questions

2018-12-28 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 2 network questions @post 12 I can walk you through it. It's not hard.The is the code for the person who will be hosting their IP that others will connect to,. The example in the network chapter has 2 while loops in each void, so I split it into 2 different voids between the while

Re: 2 network questions

2018-12-28 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 2 network questions @post 12 I can walk you through it. It's not hard.The example in the network chapter has 2 while loops in each void, so I split it into 2 different voids between the while loops.//hosting with IPvoid create(){show_game_window("Game Server");tts_voice

Re: 2 network questions

2018-12-28 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 2 network questions @post 12 I can walk you through it. It's not hard.The example in the network chapter has 2 while loops in each void, so I split it into 2 different voids between the while loops.//hosting with IPvoid create(){show_game_window("Game Server");tts_voice

Re: 2 network questions

2018-12-28 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 2 network questions @post 12 I can walk you through it. It's not hard.The example in the network chapter has 2 while loops in each void, so I split it into 2 different voids between the while loops.//hosting with IPvoid create(){show_game_window("Game Server");tts_voice

Replaying the level with my level creator using the level file

2018-12-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Replaying the level with my level creator using the level file I do not know if what I am doing is the best way of doing this. Here is my objective, and here is my current solution. I am using bgt to code this, and this code is to help replay the level from rhythm rage in the level creator

deciphering a crazy party battle

2019-03-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
deciphering a crazy party battle I would love to make something like a crazy party battle one day, but I definitely do not have some of the skills required for it. But the main problem is deciphering how to put the project together. Determining what objects are variables, are classes, and

Re: deciphering a crazy party battle

2019-03-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: deciphering a crazy party battle @2 this is how it would be done in bgtvoid playcard(){if(key_pressed(KEY_RETURN)){discard.insert_last(hand_index);hand.remove_at[hand_index];}} URL: https://forum.audiogames.net/post/422945/#p422945 -- Audiogames-reflector mailing list

Re: rewriting one of my games

2019-03-22 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: rewriting one of my games I added you on skype URL: https://forum.audiogames.net/post/421485/#p421485 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

volume change using sound function in bgt

2019-04-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
volume change using sound function in bgt I have a track playing using the normal sound function.sound.load(path);sound.play();This function has sound.volume, but how do I adjust the volume?//turn volume up.if(key_pressed(KEY_UP)sound.volume question mark//turn volume

Re: help in bgt?

2019-04-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: help in bgt? I used already written code to turn a 2d into a 3d game. There is a 7z folder of 25 open source projects you can use. I used the zombie war game. First I stripped all the stuff I didn't want. Then I stripped the enemy and weapon code so it was just a map. Oh and no objects

Re: volume change using sound function in bgt

2019-04-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: volume change using sound function in bgt Ah, ok. Didn't think of that URL: https://forum.audiogames.net/post/425194/#p425194 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

first letter navigation in bgt arrays

2019-04-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
first letter navigation in bgt arrays I have an array I would like to add first letter navigation to in bgt. How can I accomplish this? URL: https://forum.audiogames.net/post/425183/#p425183 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: help in bgt?

2019-04-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: help in bgt? I used already written code to turn a 2d into a 3d game. There is a 7z folder of 25 open source projects you can use. I used the zombie war game. First I stripped all the stuff I didn't want. Then I stripped the enemy and weapon code so it was just a map. Oh and no objects

Re: first letter navigation in bgt arrays

2019-04-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: first letter navigation in bgt arrays That worked. thank you. URL: https://forum.audiogames.net/post/425215/#p425215 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: deciphering a crazy party battle

2019-03-28 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: deciphering a crazy party battle Flags are the words at the end of a card. For example, offensive, mouth, double try, support URL: https://forum.audiogames.net/post/423147/#p423147 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: saving an array, bgt

2019-02-24 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: saving an array, bgt @post 3 when I put the variable that I wanted to use in the final+=array[].variable line, it says the variable is not a member, but that is not true. URL: https://forum.audiogames.net/post/414186/#p414186 -- Audiogames-reflector mailing list

Re: saving an array, bgt

2019-02-24 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: saving an array, bgt Oh my god! Ok, so all I did was have the array export to a document, like it already has been doing. Then I just told the program to open the document and split the array into an entry every line! This is exactly what I wanted! URL:

saving an array, bgt

2019-02-23 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
saving an array, bgt Hello. I have saved data before in bgt, however it has always been using a dictionary. How would I go about saving an array so the data is remembered when program opens? This has no online functionality, so storing it on server isn't an option. URL:

rewriting one of my games

2019-03-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
rewriting one of my games I have written a small peer to peer internet game in bgt that is a spin off of time fcrest. It is a nice little game and it can be a blast. However the way I have coded it is an absolute pain in the ass. It supports 4 players, and for each player I have to write

rewriting one of my games

2019-03-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
rewriting one of my games I have written a small peer to peer internet game in bgt that is a spin off of time fcrest. It is a nice little game and it can be a blast. However the way I have coded it is an absolute pain in the ass. It supports 4 players, and for each player I have to write

variables versus standard numbers in bgt

2019-03-12 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
variables versus standard numbers in bgt So,, if I tell bgt, at 6 seconds to play a sound, it will. However if I assign an integer value to 6000 and tell it to do the same thing, btt refuses to listen to it. Why is this?if(clock==6000)p.play_stationary("sounds/whatever.ogg",false);that

Re: variables versus standard numbers in bgt

2019-03-12 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: variables versus standard numbers in bgt The clock variable is an integer that is set to increase every time a timer goes up 1 ms. The intvar  variable is just an integer, although I  I am using an array of values so it changes often.  What I would like it to do is play a sound, then

Re: variables versus standard numbers in bgt

2019-03-12 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: variables versus standard numbers in bgt So I did the grater than or equals method and it turns out to actually work. I never thought it did. However now the last action won't stop playing, so I will try destroying the sound pool after the last action. Update, I can either choose to

Re: variables versus standard numbers in bgt

2019-03-12 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: variables versus standard numbers in bgt So I did the grater than or equals method and it turns out to actually work. I never thought it did. However now the last action won't stop playing, so I will try destroying the sound pool after the last action URL:

Re: rewriting one of my games

2019-03-21 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: rewriting one of my games @3 I sent you a pm URL: https://forum.audiogames.net/post/421197/#p421197 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

removing data from a file in bgt

2019-02-13 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
removing data from a file in bgt Hi. In my file, I have a number. Let's say I make that number different in bgt, and I want to update that number in the file. How would I replace the old number with the new one without modifying anything else before or after that number? URL:

Re: removing data from a file in bgt

2019-02-14 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: removing data from a file in bgt But how do I replace the new number while deleting the old one? URL: https://forum.audiogames.net/post/411684/#p411684 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: trimming in multiple line variables in bgt

2019-06-15 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: trimming in multiple line variables in bgt well ok. Here's what I am trying to accomplish here. This is part of the rhythm rage level creator project.So let's say I have a file like thisname=sound1fail=sound2late=sound3I want to change the sound for fail=. So I select my sound and make

Re: Programming languages for audio game development

2019-06-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: Programming languages for audio game development Real developers have entered the chat; op has left the chat URL: https://forum.audiogames.net/post/442159/#p442159 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: trimming in multiple line variables in bgt

2019-06-15 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: trimming in multiple line variables in bgt Ah, I see. I only had it split with “\n” URL: https://forum.audiogames.net/post/441771/#p441771 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

trimming in multiple line variables in bgt

2019-06-14 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
trimming in multiple line variables in bgt Ok. So I've run into an annoying issue. Let's say I have the followinghi, I'm aliveI am hungrygive me something to eatLet's say I want to remove the word alive from the first line, and I want to use the line separator as a reference point to begin

using multiple of the same class in bgt

2019-06-23 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
using multiple of the same class in bgt I read through the bgt chapters 10 and 11. I understand the inheritance and interfaces. But here is my question. Let's say I have 2 people. So i have 2 objects with different names, amount of money, and popularity status. How would I refer to player

Re: using multiple of the same class in bgt

2019-06-24 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: using multiple of the same class in bgt lol ok thank you. URL: https://forum.audiogames.net/post/443704/#p443704 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Programming languages for audio game development

2019-06-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: Programming languages for audio game development NESS - post-apocalyptic text browser-based online RPG game. This project was developed several years ago. This project was developed by several people. Initially, it was the project "Glor". After, this project was finalized. I was one of

0 vs. 1 with bgt arrays

2019-05-12 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
0 vs. 1 with bgt arrays so in bgt it doesn't know the difference between 0 and 1 when saying: array.length. And when I try: if(array_is_empty, but that seems to have no effect. What is the best way of it knowing the different between 0 and 1 items? URL:

launch modification in html

2019-05-21 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
launch modification in html My topic name is confusing, I'm not sure how to word it. But here's what I'm wondering. If I have a list of links in an html document, can I have one be automatically removed after the user opens the document for the first time or clicks the link for the first

Re: 0 vs. 1 with bgt arrays

2019-05-14 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: 0 vs. 1 with bgt arrays @13 I already knew. I think I’m just an idiot for not trying if(array.length==0 or 1). I seriously think I thought I did that but haven’t. Maybe I thought but didn’t URL: https://forum.audiogames.net/post/433638/#p433638 -- Audiogames-reflector mailing

Re: play_wait without freezing speech in bgt

2019-04-29 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: play_wait without freezing speech in bgt By freeze speech I mean when you press keys that speak things, nothing is spoken until the sound stops playing, only then will the key speak. URL: https://forum.audiogames.net/post/430100/#p430100 -- Audiogames-reflector mailing list

play_wait without freezing speech in bgt

2019-04-28 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
play_wait without freezing speech in bgt in crazy party battles sounds play after one another without freezing speech. Both the normal play function and the dlgplay functions both freeze speech, how can I prevent this? URL: https://forum.audiogames.net/post/430001/#p430001 --

Re: The millionth topic asking about what coding language to begin with th

2019-05-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: The millionth topic asking about what coding language to begin with th Every language has a shit tun of math. It ain’t a calculator! URL: https://forum.audiogames.net/post/431637/#p431637 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: The millionth topic asking about what coding language to begin with th

2019-05-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: The millionth topic asking about what coding language to begin with th The less math the language has to use, the more you have to tell it what you wanted to do and more accurately.  You are just going to be replacing mass with other code URL:

Re: using multiple of the same class in bgt

2019-06-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: using multiple of the same class in bgt I'm having a very very difficult time with this. I can make 5 players, but bgt doesn't actually know that there are 5 players. For example, a for loop that makes players p1 through p5. Then if I press space it speaks p5's money. Only problem is,

Re: using multiple of the same class in bgt

2019-06-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: using multiple of the same class in bgt I'm having a very very difficult time with this. I can make 5 players, but bgt doesn't actually know that there are 5 players. For example, a for loop that makes players p1 through p5. Then if I press space it speaks p5's money. Only problem is,

Re: using multiple of the same class in bgt

2019-06-28 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: using multiple of the same class in bgt I have gotten the array to work, and I can create an infinite amount of players and it will cycle back to the first player correctly. Thank you so so much for helping me with this, I think I'm good on using classes now. URL:

Re: using multiple of the same class in bgt

2019-06-28 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: using multiple of the same class in bgt I was going to try an array as a backup but wasn't sure ho that would work either. I did try, but no success. Also the player@players[0] line is currently in the class script not the main script, so I am not sure if it counts as global URL:

Re: Sending other peers variable values in bgt

2019-07-01 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: Sending other peers variable values in bgt I'm trying to start my game, but the peer gets a bgt run time error. The players were created, correctly on both sides, but now I'm getting an error on the peer's side. Code is below.void create(){show_game_window("Game Server");tts_voice

Re: Sending other peers variable values in bgt

2019-07-01 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: Sending other peers variable values in bgt I'm trying to start my game, but the peer gets a bgt run time error. The players were created, correctly on both sides, but now I'm getting an error on the peer's side. Code is below.void create(){show_game_window("Game Server");tts_voice

bgt, assigning players in online games

2019-07-01 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
bgt, assigning players in online games SO there are 2 things that I am talking about. The first is assigning players as they join the server. I don't know how to do that. The second is telling who's turn it is. I have the second part down, here is what I did.int

Sending other peers variable values in bgt

2019-06-30 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Sending other peers variable values in bgt I have 2 questions, one of which is not related to this topic but I don't want to create a separate topic. That question is: how hard would it be to use a server rather than peer to peer? My friend has a server, and peer to peer is very limited

how to tell bgt a music track has looped

2019-07-30 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
how to tell bgt a music track has looped If I use the sound.play_looped function, it is not easy to do things after it loops. For example, increase pitch after each loop, or increase an integer variable by 1. Well, I know it is possible, but I'm not sure of a good way to do it. May I

Re: Sharing My Music and Sound Effects - Over 1800 Tracks

2019-08-02 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: Sharing My Music and Sound Effects - Over 1800 Tracks I think you forgot the link to the last one.Is there a link to download a whole page of content or do I need to download individually URL: https://forum.audiogames.net/post/452727/#p452727 -- Audiogames-reflector mailing list

missing brace or parenthsis finder

2019-08-15 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
missing brace or parenthsis finder I'm coding in bgt. Sometimes I miss a brace. Matcher helps me find it. But this time, I am missing a parenthsis. I know the function it is in, but I can not find it. Matcher only tells me that one is missing. I've tried searching for if( (( and ))Is there

missing brace or parenthesis finder

2019-08-15 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
missing brace or parenthesis finder I'm coding in bgt. Sometimes I miss a brace. Matcher helps me find it. But this time, I am missing a parenthesis. I know the function it is in, but I can not find it. Matcher only tells me that one is missing. I've tried searching for if( (( and ))Is

Re: missing brace or parenthesis finder

2019-08-15 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: missing brace or parenthesis finder Update I found it. So here's how i did it.I copied some of the function into another document and saved it. Then used matcher. If it said 0 unclosed, that means it is in the half I didn't copy. I did have the correct half. Then I cut down some lines

Re: Clipboard reading text causes alert not to appear

2019-08-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: Clipboard reading text causes alert not to appear I didn't put a left and right parenthesis after read_text. That's why it was not letting me treat it like a variable. I have used the function before, but I didn't need parentheses. But now I know if I want to treat it like a variable I

Re: List of games written in bgt?

2019-08-12 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: List of games written in bgt? Oriol Gomez gives a lot of open source projects. Both bgt and js URL: https://forum.audiogames.net/post/455107/#p455107 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: I don't understand, please help? bgt code

2019-09-08 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: I don't understand, please help? bgt code by default, dlg has 2 strings, a title and a message. If you are still getting errors, it is because you only put one string instead of 2. I modified the script to only need one string. I also made a default timer the user can set that will

Re: What do you do when...

2019-07-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: What do you do when... This post is going to be extremely long, and takes forever to get to the theme of the stories, but if you can read all of it, thanks for taking the time.A year ago I wouldn't have any rights to write on this page, but in this one year I have finally turned my

Re: What do you do when...

2019-07-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: What do you do when... This post is going to be extremely long, and takes forever to get to the theme, but if you can read all of it, thanks for taking the time.A year ago I wouldn't have any rights to write on this page, but in this one year I have finally turned my failures into

Re: What do you do when...

2019-07-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: What do you do when... This post is going to be extremely long, and takes forever to get to the theme of the stories, but if you can read all of it, thanks for taking the time.A year ago I wouldn't have any rights to write on this page, but in this one year I have finally turned my

Re: What do you do when...

2019-07-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: What do you do when... This post is going to be extremely long, and takes forever to get to the theme, but if you can read all of it, thanks for taking the time.A year ago I wouldn't have any rights to write on this page, but in this one year I have finally turned my failures into

Re: how to tell bgt a music track has looped

2019-07-30 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector
Re: how to tell bgt a music track has looped it worked. Thanks URL: https://forum.audiogames.net/post/452060/#p452060 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

  1   2   3   4   5   >