Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-30 Thread AudioGames . net Forum — New releases room : tunmi13 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Yes Jaiden that is correct.

URL: https://forum.audiogames.net/post/547175/#p547175




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-29 Thread AudioGames . net Forum — New releases room : Jaidon Of the Caribbean via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

For some reason the post I tried to post which would have been 43 or 44 wasn't posted, but basically what I was saying was from the snip bit that Ty posted, it would appear as to be, to compensate for his messy code, he attempted to use comments to both guide folks through what he was doing, and to help newbies learn the language while they were at it. Maybe i'm off and Tunmi could correct me, but that's what it looked like

URL: https://forum.audiogames.net/post/547092/#p547092




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-29 Thread AudioGames . net Forum — New releases room : tunmi13 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I will take  that into account.

URL: https://forum.audiogames.net/post/547072/#p547072




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-29 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

/*calculates the difference to buy the next building:
*Parameters:
*num_of_buildings (int) The current amount of buildings the player owns
*current_cost (int) The current cost to purchase the building
*multiplier (double) The amount by which the cost is going to be multiplied
*Return Value:
*The new cost for the purchased buildingThe function implementation could look like this:int buy_building(int num_of_buildings, int current_cost, double multiplier)
{
return 1 + (num_of_buildings * 0.1) * current_cost * multiplier;
}Of course, for a simple function like this, you could also do something like this in terms of comments./*calculates the difference to buy the next building*/
int buy_building(int num_of_buildings, int current_cost, double multiplier)
{
return 1 + (num_of_buildings * 0.1) * current_cost * multiplier;
}Even if the function would be more complex, you'd still get it's purpose.Commenting isn't easy, though, so at least it's a valuable learning experience for you.

URL: https://forum.audiogames.net/post/547067/#p547067




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-29 Thread AudioGames . net Forum — New releases room : ilyas booneehee via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

hi op. i love this game and i wish you good luck with itmaybe it's **not like other people's codes**, but it stil works. anything could be improved. anyway, good luck

URL: https://forum.audiogames.net/post/547050/#p547050




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-28 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Oh for sure, it does work and that's more than I can say of my efforts to build a game like thing.

URL: https://forum.audiogames.net/post/546780/#p546780




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-28 Thread AudioGames . net Forum — New releases room : tunmi13 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I appreciate the feedback. But please note that this is about the only open sourced project I've ever put out there. I did not know any of this to start with. So now that I know I'll  make my comments less learn worthy and more generic. if that's the gist I'm getting out of this.

URL: https://forum.audiogames.net/post/546771/#p546771




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-28 Thread AudioGames . net Forum — New releases room : cartertemm via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I would like to chime in for a second.There is absolutely nothing wrong with making code open source, in fact I've long since held out hope that the community would take steps in this direction. there is likewise nothing wrong with making messy code open source, so long as you pay heed to the consequence that it isn't prime learning material and make a clear note of such, perhaps the one mistake tunmi made here.That aside, my hat goes off to OP for the willingness to share his work.A couple of you guys are entirely too fucking critical. From what I've seen he doesn't yet have that many projects to his name and is still a junior dev. It takes a lot of confidence to be willing to take the step and hand your work out to others in it's entirety. You guys want open source, right? You guys wish big devs would hand there code to you to learn from, right? Then have some more courtesy toward those that do. Appreciate the time they took out of their day to give you something you could criticize. Some of the above posts shy away from accommodating code reviews. Instead of showing OP how to improve, reading in between the lines I see suggestions shrouded in touches of arrogance. There's no reason to discourage.Everyone has work they aren't necessarily proud of. Some of my beginner code is cringe worthy to the highest degree. Efficiency and cleanliness takes time and experience. Anyone attempting to provide advice should know that.Others have reviewed the code so I don't see any reason to look at it myself, but even if this were worthy of an entry into an obfuscation competition it still exists, still works, still took time and still has a purpose, if nothing else than to show Tunmi where he could improve. Let's try not losing sight of that.

URL: https://forum.audiogames.net/post/546748/#p546748




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-28 Thread AudioGames . net Forum — New releases room : cartertemm via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I would like to chime in for a second.There is absolutely nothing wrong with making code open source, in fact I've long since held out hope that the community would take steps in this direction. there is likewise nothing wrong with making messy code open source, so long as you pay heed to the consequence that it isn't prime learning material and make a clear note of such, perhaps the one mistake tunmi made here.That aside, my hat goes off to OP for his willingness to share his work.A couple of you guys are entirely too fucking critical. From what I've seen he doesn't yet have that many projects to his name and is still a junior dev. It takes a lot of confidence to be willing to take the step and hand your work out to others in it's entirety. You guys want open source, right? You guys wish big devs would hand there code to you to learn from, right? Then have some more courtesy toward those that do. Appreciate the time they took out of their day to give you something you could criticize. Some of the above posts shy away from accommodating code reviews. Instead of showing OP how to improve, reading in between the lines I see suggestions shrouded in touches of arrogance. There's no reason to discourage.Everyone has work they aren't necessarily proud of. Some of my beginner code is cringe worthy to the highest degree. Efficiency and cleanliness takes time and experience. Anyone attempting to provide advice should know that.Others have reviewed the code so I don't see any reason to look at it myself, but even if this were worthy of an entry into an obfuscation competition it still exists, still works, still took time and still has a purpose, if nothing else than to show Tunmi where he could improve. Let's try not losing sight of that.

URL: https://forum.audiogames.net/post/546748/#p546748




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-28 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

@Tunmi, I personally don't see the point in keeping this up, but it's not like you will harm somebody by demonstrating your work. The reason why I personally believe the source should be removed is because of your logic. Having newbies look at double comparison in a single statement without a logic keyword can be really really confusing. Honestly, I would recommend any of Mason's projects over yours precisely because, while they are messy, they generally constrain their if statements to look like what one would expect. That is my two sense, though.I would like to give you my props for keeping it cool. I looked over my post and I was not spoon-feeding you information. I know that it can be rough, and I hope you realize that I don't have anything against you.

URL: https://forum.audiogames.net/post/546743/#p546743




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-28 Thread AudioGames . net Forum — New releases room : john_weed via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Hi.I haven't checked the code yet, going to see why is it messy lol. I just downloaded the client version.

URL: https://forum.audiogames.net/post/546597/#p546597




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-28 Thread AudioGames . net Forum — New releases room : ashleygrobler04 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

The game looks nice. i don't see why people wouldn't want to contribute to it... but the code is a bit messy. But it does not make the game unplayable...and if the new version comes out, i would love to see what comes out of this. and i might want to convert this game over to python at some point.

URL: https://forum.audiogames.net/post/546535/#p546535




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : TheTrueSwampGamer via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I mean, nothing seems stolen code wise, and things look, while messy, his own. I'll play it when a new version comes out.

URL: https://forum.audiogames.net/post/546510/#p546510




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Dungeon Diver via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

This is great, but I'm more interested in how you made your beats. I checked out your youtube channel, and they sound great! Send me a pm? @1

URL: https://forum.audiogames.net/post/546496/#p546496




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : tunmi13 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I did not steal any classes int his project. This was all handwritten by me directly. The only reason it looks similar to the SB bullet class, is because I learned from SB's techniques and adapted them in my projects. I am making my own version of this game behind the scenes. But I thought some people would find this helpful. Since this seems not to be the case, I will gladly get rid of it if this seems to be to disorganized / needs work.My version which contains missiles, allies, and bombs should be out soon.

URL: https://forum.audiogames.net/post/546491/#p546491




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Lucas1853 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

@41 It's respectful to credit people if you lift code from their projects, even if the license doesn't require you to do so. What do you lose by doing it?

URL: https://forum.audiogames.net/post/546490/#p546490




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

OK, let's say I was running a living skills workshop for blind people. I wanted to teach them how to do do laundry. I'd need some clothes, a hamper to store the dirty stuff, a washer and dryer, a dresser, and possibly a closet with a hanging bar and hangers.I could start with the finished product and let them check out the dresser, but would I take the time to fold everything neatly and put things that belong together in the same place? Probably.It wouldn't make sense to ball everything up and shove it in random places. I'd probably find some scheme that would work with the dresser I had. Maybe underwear and socks in one drawer, T-shirts in another, long-sleeved shirts in another, and jeans/trousers in another. I'd hang hoodies and sweat shirts, as well as dress shirts and slacks.Where this analogy breaks is that you have the possibility to build your own system, or your own dresser, as it were. But that hasn't happened, instead, it's like no one took the time to set up the workshop and now it's starting and these people are wondering where everything is.In your own code, you can do whatever you want. I actually think most code written by blind people that I've ever seen is messy to one degree or other. But when you're doing an open source project, and trying to make it a teaching tool to boot... Yeah, it kind of doesn't work.

URL: https://forum.audiogames.net/post/546484/#p546484




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : redfox via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

So is that a yes on the Python reconverssion thing?

URL: https://forum.audiogames.net/post/546470/#p546470




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Simter via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

wanted to check this code out but when i download it's missing the includes folder.

URL: https://forum.audiogames.net/post/546466/#p546466




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : redfox via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Yeah. I think he's saying, less of stolen and more of copied to a tee.

URL: https://forum.audiogames.net/post/546457/#p546457




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Ty via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

@41, something can be stolen and still open...That's like saying, yeah well this candy bar got stolen because it wasn't locked to the shelf so it's not stolen..

URL: https://forum.audiogames.net/post/546455/#p546455




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

My main problem with this is the fact that you say "Oh look, people should use this in their games. They should learn from this code!" Honestly? I'd say you have a thing or two to learn from all of this, starting with that negation operator.Again, I appreciate the effort, but it has been largely wasted. Do some more projects, perhaps focusing on trying to improve on the points I made in fourteen, and then try again.Also? What organization are you talking about. There is none. Data gets changed all over the place, functions are separated into different files without a good reason... how is this organized?

URL: https://forum.audiogames.net/post/546438/#p546438




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : TheTrueSwampGamer via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

the bullet class, even if from sb, cannot be stolen as that game was made open source a long, long ime ago. Its a part of masons set of open sourced projects found at his webpage.his webpage for anyone looking for it is www.masonasons.me.  you'll know its the right thing because you'll hit tab or k (or your navigate link key) will say: Archive containing some old projects  linknow, what does clicking on this do. Well, it goes to the internet and finds the files on the website. This then goes ahead, and downloads the file straight to your computer, and saves it in the default place your web browser stores downloaded files. Most is your user downloads folder, but internet explorer is some random as crapplace if you click open and not save, but if you click save its usually still in either your downloads or documents folder.see, thats what this source is like for me. It takes something so simple as downloading a file, into a paragraph. I'm not trying to be rude as some starting programmers might need this, as some things clossing over them by lign aren't clearly heard with screen readers, and some synths don't read things the exact same way. But simple things, like, every single other freekin lign has a comment, wich is a bit extreme. If there were certain things that were complicated, like maybe that dictionary section, i can get if some of those were commented, but every single lign and almost anything that isn't a brace? Thats a bit much at atht point.

URL: https://forum.audiogames.net/post/546439/#p546439




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

My main problem with this is the fact that you say "Oh look, people should use this in their games. They should learn from this code!" Honestly? I'd say you have a thing or two to learn from all of this, starting with that negation operator.Again, I appreciate the effort, but it has been largely wasted. Do some more projects, perhaps focusing on trying to improve on the points I made in fourteen, and then try again.

URL: https://forum.audiogames.net/post/546438/#p546438




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : redfox via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Tunmi, there's a difference here. If this were a closed game, then I wouldn't give a damn. However, you're atempting to make this is a thing people should learn off of, therefor, you must conduct yourself as such.

URL: https://forum.audiogames.net/post/546428/#p546428




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Ty via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Tunmi, I quite honestly fail to see how you consider this organized, and in places I do not understand what your code is doing, or rather why it is doing what it is doing. For example.p.update_listener_2d(x,y);
p2.update_listener_2d(x,y);Why have two sound pools when this isn't a big game that requires playing that many sounds at once? And furthermore, why update the positions, of both...Nextly, for loops *do NOT* create arrays. The simply loop threw elements of them, or can if you tell them to. Only for each loops can loop threw arrays by default, or Python and Rust for loops. None of those can *create* arrays. You create the array when you have bullet@[] bullets(0);Next up, comments. I personally only comment my code if it's open sourced, or viewed by others. Well that's false. But I don't heavy comment like most open source projects. And this...void readdata() 
//This is a function that reads the saved data.
{
sd.load(); //This loads the dictionary. We now have to check if values exist. And if they do, then make the values in the game equal to that of the saved values. Like so.
if(sd.d.exists("kills")) kills=sd.readn("kills");
/* Let's break this down for you to better understand.
if(sd.d.exists("kills"))
This means that it is checking our class instance, labeled sd.
Then it is checking the dictionary within the class, labeled d.

Finally it is checking for the value labeled "kills".
If the value exists, it is saying, hey. Read this. Now make the kills value, equal this. Like so.
kills(game value)=sd.readn("kills"(dictionary value))
Now same for the deaths.
*/
if(sd.d.exists("deaths")) deaths=sd.readn("deaths");
}
//Now we have to make a function to add these settings/values to the dictionary. Let's make a new function called adddata.
void adddata()
{
//Now let's add both kills and deaths values to the dictionary. You will notice that one is the value name, and then one is the value data. Like so.
sd.add("kills",kills);
sd.add("deaths",deaths);
/*
The kills and deaths in quotes are the name. This is what the readdata is checking for. When we are saying if(sd.d.exists("deaths")) or sd.d.exists("kills")) this is what it is expecting to find, because we added these values.
The kills and deaths that aren't within the quotes is what is being read. This applies to the kills=sd.readn("kills"); or deaths=sd.readn("deaths");
Now lets save this data as not to lose it.
*/
sd.save();
}This, at least to me, gives off that vibe of, "Hi, I'm the BGT tutorial!" In edition, this bullet class seems to have been stolen from SB. Next up, why make a long comment explaining how to use m_pro if you didn't make it yourself?void setupmenu(bool add_music=true)
{
/*
Now what on earth is that you might be wondering? This is a setup menu function. It gets the menu prepared so we don't have to do it every single time we make a new menu.
The bool add_music=true within the function's parentheses, is a bool specifying whether the menu should contain music or not. If it is false the menu will remain silent. But since I like menus with music I've made the default parameter true.
Now lets add a few parameters to the menu. We do this by calling up our dynamic_menu_pro m class instance, like so. 
m.class_parameter
For example:
*/
m.enable_up_and_down=true; //This enables the use of the up and down arrow keys.
m.enable_left_and_right=true; //This enables the use of the left and right arrow keys.
m.click_sound="menuclick.ogg"; //This is the sound that plays when the user cycles through the menu using the arrow keys.
m.enter_sound="menuenter.ogg"; //This is the sound that playes when the user clicks the Enter key.
m.wrap=true; //This configures whether the menu wraps to the top or bottom when the user cycles to the first or last item, or if it simply bumps against the menu border. Since it is true, the menu will simply wrap if you go off the boundary.
if(add_music==true) //This is an if statement checking the add music bool and whether it is true. And if it is, it returns a string containing the music file name.
{
m.add_music("menumusic.ogg");
}
else if(add_music==false) //This is an if statement, but this time checking if the add_music bool is false. if so it returns a blank string.
{
m.add_music("");
}
}And your main function.void main()
{
//Let's show the game's window. We do it just like this.
show_game_window("Shooter Extreme"); //Now the user will be able to find the window when they Alt Tab or Alt Shift Tab.
//Now lets load our sounds and set the sound storage. If we don't do this we'll get a blank game.
set_sound_storage("sounds.dat");
//Now lets load the ambience.
amb.load("amb.ogg");
//Now set its volume.
amb.volume=-10;
readdata(); //This reads 

Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Meatbag via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

@35 tipingif (x==5==True)will bring the same result as:if (x==5)

URL: https://forum.audiogames.net/post/546407/#p546407




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : tunmi13 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Sighs.I kind of figured there might be some people criticizing its messy state. It's something to expect out of all my game sources. To me it is organized enough that I know where everything is. But I guess for others, organization strategies are different.

URL: https://forum.audiogames.net/post/546402/#p546402




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Jaidon Of the Caribbean via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

With my limitted knowledge I'd probably use the statement laid out in post 17 to do something like this.if (x==5==True){dlg("Youza! That hurt!");health-25;speed-35;}That was quite possibly the only way I could possibly think of to use a statement like that, given the context of this game in general.

URL: https://forum.audiogames.net/post/546300/#p546300




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Ty via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I made something like this but in Python for ever ago. I would open source it, but the code gives me headaches. I should rewrite that some time.

URL: https://forum.audiogames.net/post/546276/#p546276




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I might check out the finger panic thing, I was more thinking like this type of deal, a side scroller shootery kind of thing.

URL: https://forum.audiogames.net/post/546268/#p546268




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

@30, the boolean comparison is incorrect. It's more along the lines of if 2 is equal to two is equal to 2. Yes, that redundant. Frankly, this alone should send a clear signal of taking this down.@31, I posted an open-source project for Finger Panic before and it's semi-organized. It can use some improvement, but that can be said for any piece of code. If this is not the type of project you're looking for, do let me know and explain in detail what you'd like to see. Depending on what you wish I may attempt to make it happen.As for map and player, this is where things become really, really hairy. There are multiple ways of representing maps, there are multiple options in regards to player states (jumping, ducking, etc), the more correct question is what is your end goal? We can provide you with some solutions depending on how complicated you want it to end up looking like when it's all said and done.

URL: https://forum.audiogames.net/post/546251/#p546251




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

@30, the boolean comparison is incorrect. It's more along the lines of if (2 == 2 == True). Frankly, this alone should send a clear signal of taking this down.@31, I posted an open-source project for Finger Panic before and it's semi-organized. It can use some improvement, but that can be said for any piece of code. If this is not the type of project you're looking for, do let me know and explain in detail what you'd like to see. Depending on what you wish I may attempt to make it happen.As for map and player, this is where things become really, really hairy. There are multiple ways of representing maps, there are multiple options in regards to player states (jumping, ducking, etc), the more correct question is what is your end goal? We can provide you with some solutions depending on how complicated you want it to end up looking like when it's all said and done.

URL: https://forum.audiogames.net/post/546251/#p546251




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Well even a decent open source in Python would be fine, but I don't know of any.OK so if I was doing this I wouldn't use bools for jumping and landed. I'd have a player class, and that would have X and Y coords. I'd just have a callable method to grab those or check the properties directly. But then what about the map, I've thought about that and well, I could just never give the player their own coords and only express them through the map alone, but I think I'd probably do both. Player class has its own coords, health, all that jazz, then the map has everything on it. That's where I get confused and start circling.

URL: https://forum.audiogames.net/post/546239/#p546239




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Ty via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

What x==5==true is trying to do is treat the if statement as if it doesn't evaluate expressions as booleans by default. For example, it's the same as if jumping == True: vs if jumping:

URL: https://forum.audiogames.net/post/546236/#p546236




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : TheTrueSwampGamer via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

x=5==true? What the actual fuck. I'm probably the newbiest of newbs and look at other code to even learn anything and even if thats all just theoretical, even i can tell that thats just a giant mess of what the fishsticks. you could very easily, if your calling that to get cords, just do cords=x+y? At least i think you can, get get both of those stored numbers, and then whenever they check the coodrinates they get those two numbers back, not displaying something for every single number? I mean, i'm really not sure what the hole x=5==true lign came up for or what its used for, i'll go look when i'm done writing, but it just sounds messed up. I looked at the bullet class and was instantly like what the, meow? The commments helped a very tiny bit, but it seemed like it wasn't done well. I get you checking if it is out of the bulllets range and then removing it by comparing its currrent x value and your facing for wich way it moves to your current location, but why would you compare the bullets x and enemies x and y values then to see if it hits. Not sure how easy in scollers it is, but there might be an easier way to do that.

URL: https://forum.audiogames.net/post/546234/#p546234




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Saddly, not for BGT. All of the open source stuff is like this.

URL: https://forum.audiogames.net/post/546214/#p546214




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

There are things I'd like to do to this, but idk if I will now. I'd have to revert all the sounds back to the main folder and if it's got weird ass code in it then yeah.Are there any open source projects like this that are actually clean that one might tinker with?

URL: https://forum.audiogames.net/post/546202/#p546202




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Ty via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I started looking at the source code, and quite honestly, wanted to bang my head against the desk. 14 summed up my thoughts pretty well, but the x==5==true or whatever confused the hell out of me too.

URL: https://forum.audiogames.net/post/546200/#p546200




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Lucas1853 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

The thing about BGT devs, and to an extent just hobby game developers in general, is that they don't see the importance of this stuff. When you're developing a game and you're new to it, it's easy to just start writing code and add things on as they become necessary. The thing is that it eventually becomes fucking terrible to maintain, which is something that even experienced game developers don't realize. I don't think Mason ever learned, for example. He rewrote UP like 5 times, and by the time the source code leaked it was still a huge mess. TK is a huge mess as well, it has a fucking 7000-line main loop in the server. So I guess there are probably a few games that are well-organized like Crazy Party with a class for every minigame, and probably the big VgStorm RPGs as well because those would become impossible to maintain if not, but mostly those developers aren't opensourcing their games unfortunately.

URL: https://forum.audiogames.net/post/546192/#p546192




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : spay via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Hello! not a claim to the author of this game. once again convinced that the world of audio games has degraded. everyone just knows that re-posting some free versions of games received is not always legal as something new. aren't you all tired of playing the same thing? one must move, develop further, and not stagnate. not relevant to this game I don’t know it didn’t download just read the first message in the topic and there the author wrote that this code can be involved in writing games and could not stand it and expressed his opinion. I don’t want to offend anyone, but unfortunately such a reality. 

URL: https://forum.audiogames.net/post/546170/#p546170




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : Jaidon Of the Caribbean via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Hmm, I didn't read the code, but the line of code posted in 7 really, really worries me. Don't you not understand the purpoe of the double = sign?

URL: https://forum.audiogames.net/post/546165/#p546165




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-27 Thread AudioGames . net Forum — New releases room : manamon_player via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

at21 are you sure you've got the source code?

URL: https://forum.audiogames.net/post/546149/#p546149




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : ivan_soto via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I can't test anything as the code is failing to compile. Please provide the includes directory in the zip file.

URL: https://forum.audiogames.net/post/546105/#p546105




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : TheTrueSwampGamer via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

i'm grabbing both the client and the source, just to see what small thing i could make out of it for fun.

URL: https://forum.audiogames.net/post/546103/#p546103




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I am going to chime in here as well.First, if you encourage others to use your code, you should, in all likelihood, attempt to keep it clean. This is not. No matter how you spin this. Let's take several examples:int x,y; //These are the cordinates that the user will be using. We will be dealing with these later.
timer speedtimer; //The timer for the speed. If the timer has elapsed 450, the user will move.These aren't combined in a class, as they should be for this game. I was very confused when I looked at the extras.bgt and saw the reassigning of various variables.Second, your comments, and this is what I am going to hit the hardest. If you don't really understand what you are doing, then perhaps you should not be providing open source material. Several examples follow://Create an array of bullets.
for(uint i=0; iThis comment is incorrect. When looping through an array, you are doing just that, looping. No extra item creation occurs unless you do so explicitly. I hate to pick on your vocabulary, but since this is open source and, apparently, something one should learn from, I feel like we need to establish basic terminology here. As I said before, you are not creating a new array every time you loop through an already instantiated one. This also means that the following comments get invalidated://Create an array of enemies within the array of bullets to check if an enemy's x equals to that of a bullet's x and the enemy's y equals the bullet's y.Not only is the vocabulary incorrect here, but I also had to re-read your comment multiple times to actually understand what you meant. I could have looked at the code and have spent much less time interpreting what is happening, a fact which both of us know should be the opposite when someone writes their logic.//Create an array of enemies.You get the picture.While we are on the topic of comments, let's talk about why would you choose to make one. A comment is typically placed to explain logic in code or to leave a note. Most of your comments do otherwise. Again, examples go below://Check the move timers have elapsed.
if(enemies[i].movetimer.elapsed>enemies[i].movetime)
//Make the enemy moved based on where the player is. If the player is to the left of the enemy, the enemy will move to the left. If the players is the right, the enemy will do likewise.
if(enemies[i].emxx)...
//Now lets declare a few values.
int kills=0,deaths=0; //This will be saved in the data.dat file.
bool jumping=false,landed=true; //These two bools are for jumping and landing. If the user jumps, jumping will become true, and landed will become false. When landed is true, jumping will become false. But more on that way later.
//Now we have to create a few functions. First, lets start out with the savedata functions.I will stop right there, as I am sure that, again, you get the picture. You explain the purpose of each line of code, rather than how it's all meant to come together. In other words, if I get your game, chances are I already know what the main function does and how to show a window. I do not need you to explain every single thing. I feel like you tried to make a mini BGT tutorial and failed, hard. To put it in perspective, what you are doing is akin to me talking to a cook and saying "We're gonna cook some scrambled eggs, but first, you need this, and this, and this, and this, and you also need to use this to check that and that to check this thing over there," without providing any relevant instructions or information. I give a few building blocks, like "you need eggs", but I think that is implied here since, you know, we are making scrambled eggs.Third, your logic. I feel like I need to address this especially because there was a point where we had to boot up a Python interpretor and run some mini examples to see how your mind processed ifs. More examples are coming, do not be afraid.if(key_pressed(KEY_LEFT) and facing=="left"==false) //Checks to see if the user is facing left. If not, they turn left.I again, though this time unintentionally, demonstrate comment redundancy. My main point, however, is your if statement. You do a lot of unnecessary stuff here, a lot. First, I did not even know that you can even stack two comparisons like this, which is the point. I am not a newbie when it comes to reading code. I may not be the sharpest tool in the shed, but I'm far from dumb. What you are doing required me to boot up my Python console and create several tests to understand what you meant by that line. Needless to say, there is a much, much better way to do this. I'll provide two of them, in fact.if(key_pressed(KEY_LEFT) and facing!="left")orif(key_pressed(KEY_LEFT) and !(facing=="left"))The first option is the most strait forward one. It is the easiest to read when glancing through your code. It is also mentioned in section 7.1 of the BGT l

Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

You can do this in BGT. What you’re looking for is the ternary operator.  I currently do not have time to provide a more detailed example, but that should get you googling.  Looking up something like C ternary operator should give you the correct syntax. Python has this as well, in fact you already demonstrated it.

URL: https://forum.audiogames.net/post/546077/#p546077




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Yeah some of the things here hurt my head. Like the array of enemies in the array of bullets simply to check if one is near the other. I haven't looked through all the code yet either.One shortcut you can sometimes take and it does work in various languages, including Python is that things that return true or have more than zero elements, you can get away with something like:if(var)
{
//statements
}In Python, this will pass if the var is holding a boolean and it return true, if it's a non-empty list or string, and several other things.if var:
  # statements hereYou can also flip flags like this in BGT:var = !var;Or in python:var = not varI don't know how or even if it is possible to do this next part in BGT, but it works in Python. OK so you flipped your flag and now you want to speak it so you could do:lucia.output.output("on" if var else "off")Lol hope that was correct, I don't use it commonly and sometimes have to play with it to get it to work.Uh, why did I just write all this shit, idk getting tired I guess and head going in weird places.

URL: https://forum.audiogames.net/post/546075/#p546075




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : redfox via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I'd just like to expound upon @14 a bit and just say that reguarding the point made about your lack of the not operator:We took a good 20 minutes logically thinking through the way that Bgt and Python parse there if statements and tested the syntax on several different places to figure out what you were doing.For those who can't tell, in if statements such as:if (x==5==True)He is basically saying, if it is true that x is five is true... What! What the hell? Where in the good little universe did you learn that? That totally mind boggled three people who have programmed through several different languages for a couple years.Tunmi, if there's anything this release accomplished? You gave us a good mental exersise.

URL: https://forum.audiogames.net/post/546072/#p546072




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

You can create a pack with folder structure, but the solution to this requires recursion, something which the pack creator provided here does not have. It is possible, though, I did it before.

URL: https://forum.audiogames.net/post/546071/#p546071




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I am going to chime in here as well.First, if you encourage others to use your code, you should, in all likelihood, attempt to keep it clean. This is not. No matter how you spin this. Let's take several examples:int x,y; //These are the cordinates that the user will be using. We will be dealing with these later.
timer speedtimer; //The timer for the speed. If the timer has elapsed 450, the user will move.These aren't combined in a class, as they should be for this game. I was very, very confused when I looked at the extras.bgt and saw the reassigning of various variables.Second, your comments, and this is what I am going to hit the hardest. If you don't really understand what you are doing, then perhaps you should not be providing open source material. Several examples follow://Create an array of bullets.
for(uint i=0; iThis comment is incorrect. When looping through an array, you are doing just that, looping. No extra item creation occurs, unless you do so explicitly. I hate to pick on your vocabulary, but since this is open source and, apparently, something one should learn from, I feel like we need to establish basic terminology here. As I said before, you are not creating a new array every time you loop through an already instantiated one. This also means that the following comments get invalidated://Create an array of enemies within the array of bullets to check if an enemy's x equals to that of a bullet's x and the enemy's y equals the bullet's y.Not only is the vocabulary incorrect here, but I also had to re-read your comment multiple times to actually understand what you meant. I could have looked at the code and have spent much less time interpreting what is happening, a fact which both of us know should be the opposite when someone writes their logic.//Create an array of enemies.You get the picture.While we are on the topic of comments, let's talk about why would you choose to make one. A comment is typically placed to explain logic in code or to leave a note. Most of your comments do otherwise. Again, examples go below://Check the move timers have elapsed.
if(enemies[i].movetimer.elapsed>enemies[i].movetime)
//Make the enemy moved based on where the player is. If the player is to the left of the enemy, the enemy will move to the left. If the players is the right, the enemy will do likewise.
if(enemies[i].emxx)...
//Now lets declare a few values.
int kills=0,deaths=0; //This will be saved in the data.dat file.
bool jumping=false,landed=true; //These two bools are for jumping and landing. If the user jumps, jumping will become true, and landed will become false. When landed is true, jumping will become false. But more on that way later.
//Now we have to create a few functions. First, lets start out with the savedata functions.I will stop right there, as I am sure that, again, we all get the picture. You explain the purpose of each line of code, rather than how it's all meant to come together. In other words, if I get your game, chances are I already know what the main function does and how to show a window. I do not need you to explain every single thing. I feel like you tried to make a mini BGT tutorial and failed, hard. To put it in perspective, what you are doing is akin to me talking to a cook and saying "We're gonna cook some scrambled eggs, but first, you need this, and this, and this, and this, and you also need to use this to check that and that to check this thing over there" without providing any relevant instructions or information. I give a few building blocks, like "you need eggs", but I think that is implied here since, you know, we are making scrambled eggs.Third, your logic. I feel like I need to address this especially because there was a point whereI had to boot up a Python interpretor and run some mini examples to see how your mind processed ifs. More examples are coming, do not be afraid.if(key_pressed(KEY_LEFT) and facing=="left"==false) //Checks to see if the user is facing left. If not, they turn left.I again, though this time unintentionally, demonstrate comment redundancy. My main point, however, is your if statement. You do a lot of unnecessary stuff here, a lot. First, I did not even know that you can even stack two comparisons like this, which is the point. I am not a newbie when it comes to reading code. I may not be the sharpest tool in the shed, but I'm far from dumb. What you are doing required me to boot up my Python console and create several tests to understand what you meant by that line. Needless to say, there is a much, much better way to do this. I'll provide two of them, in fact.if(key_pressed(KEY_LEFT) and facing!="left")orif(key_pressed(KEY_LEFT) and !(facing=="left"))The first option is the most strait forward one. It is the easiest to read when glancing through your code. It is also mentioned in section 7.1 of the BGT l

Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Oh fuck, so that's why it says one file... damn I'm screwed then.I probably won't mess much with this then. As much as I am disorganized in life, I do like organized code and structured assets.Unfortunately, I am better with modifying things than creating them from scratch, so I have never really made a game.

URL: https://forum.audiogames.net/post/546068/#p546068




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : amerikranian via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I am going to chime in here as well.First, if you encourage others to use your code, you should, in all likelihood, attempt to keep it clean. This is not. No matter how you spin this. Let's take several examples:int x,y; //These are the cordinates that the user will be using. We will be dealing with these later.
timer speedtimer; //The timer for the speed. If the timer has elapsed 450, the user will move.These aren't combined in a class, as they should be for this game. I was very, very confused when I looked at the extras.bgt and saw the reassigning of various variables.Second, your comments, and this is what I am going to hit the hardest. If you don't really understand what you are doing, then perhaps you should not be providing open source material. Several examples follow://Create an array of bullets.
for(uint i=0; iThis comment is incorrect. When looping through an array, you are doing just that, looping. No extra item creation occurs, unless you do so explicitly. I hate to pick on your vocabulary, but since this is open source and, apparently, something one should learn from, I feel like we need to establish basic terminology here. As I said before, you are not creating a new array every time you loop through an already instantiated one. This also means that the following comments get invalidated://Create an array of enemies within the array of bullets to check if an enemy's x equals to that of a bullet's x and the enemy's y equals the bullet's y.Not only is the vocabulary incorrect here, but I also had to re-read your comment multiple times to actually understand what you meant. I could have looked at the code and have spent much less time interpreting what is happening, a fact which both of us know should be the opposite when someone writes their logic.//Create an array of enemies.You get the picture.While we are on the topic of comments, let's talk about why would one choose to make one. A comment is typically placed to explain logic in code or to leave a note. Most of your comments do otherwise. Again, examples go below://Check the move timers have elapsed.
if(enemies[i].movetimer.elapsed>enemies[i].movetime)
//Make the enemy moved based on where the player is. If the player is to the left of the enemy, the enemy will move to the left. If the players is the right, the enemy will do likewise.
if(enemies[i].emxx)...
//Now lets declare a few values.
int kills=0,deaths=0; //This will be saved in the data.dat file.
bool jumping=false,landed=true; //These two bools are for jumping and landing. If the user jumps, jumping will become true, and landed will become false. When landed is true, jumping will become false. But more on that way later.
//Now we have to create a few functions. First, lets start out with the savedata functions.I will stop right there, as I am sure that, again, we all get the picture. You explain the purpose of each line of code, rather than how it's all meant to come together. In other words, if I get your game, chances are I already know what the main function does and how to show a window. I do not need you to explain every single thing. I feel like you tried to make a mini BGT tutorial and failed, hard. To put it in perspective, what you are doing is akin to me talking to a cook and saying "We're gonna cook some scrambled eggs, but first, you need this, and this, and this, and this, and you also need to use this to check that and that to check this thing over there" without providing any relevant instructions or information. I give a few building blocks, like "you need eggs", but I think that is implied here since, you know, we are making scrambled eggs.Third, your logic. I feel like I need to address this especially because there was a point whereI had to boot up a Python interpretor and run some mini examples to see how your mind processed ifs. More examples are coming, do not be afraid.if(key_pressed(KEY_LEFT) and facing=="left"==false) //Checks to see if the user is facing left. If not, they turn left.I again, though this time unintentionally, demonstrate comment redundancy. My main point, however, is your if statement. You do a lot of unnecessary stuff here, a lot. First, I did not even know that you can even stack two comparisons like this, which is the point. I am not a newbie when it comes to reading code. I may not be the sharpest tool in the shed, but I'm far from dumb. What you are doing required me to boot up my Python console and create several tests to understand what you meant by that line. Needless to say, there is a much, much better way to do this. I'll provide two of them, in fact.if(key_pressed(KEY_LEFT) and facing!="left")orif(key_pressed(KEY_LEFT) and !(facing=="left"))The first option is the most strait forward one. It is the easiest to read when glancing through your code. It is also mentioned in section 7.1 of the BGT l

Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : redfox via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

@12, the issue with organizing is that they all use the same packer that they don't understand, which means they can't make one that can do nested directory structures.

URL: https://forum.audiogames.net/post/546066/#p546066




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I do kind of agree with this. Looking through and wanting to reorganize things, I've placed most of the sounds in folders that would make sense, but since everything was jumbled together in the main sounds folder, I've got to go into each class and modify it, but first it would make sense for me to lay it out more logically, like constants for each new folder under sounds to set in place.

URL: https://forum.audiogames.net/post/546062/#p546062




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : redfox via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I aplogize for the double post, but another fact just hit me.In your main  script you say:NOTE: This code is not meant to be professional, or accurate. There are probably better ways of doing things and before more experienced devs begin to smirk at sections of this code, you might want to consider that everyone has their different style of coding. It's just about making the code work.Why, oh why, do you want to use a game as teaching material, when you obviously know it isn't professional in any way.

URL: https://forum.audiogames.net/post/546055/#p546055




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : redfox via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Well, I'm back. I bet everyone's is very happy about that one.As my first post back, I would like to formally apoligize for the child I was back then. However, that's not what this is for, and I'm not the kind of person to get all sappy.However, we come to the meat, potatos and whatever other food you like of the post.I promise I'm not here to rag on you. I want you to make games and use your abilities to create other things for us to spend our time on. However:I'm going to try to remain tactfully blunt here and just say that this is a pretty interestingly done rewrite of an amalgamation of several Masonasons games. The purpose of the open sourcing of the project eludes me, bercause we have the previously mentioned sources that show the same thing.I do comemorate you for trying to provide a foothold for new developers, I, however, think you fell a little short on that.The first major red flag for me was seeing that the player isn't in a class but is instead, scattered all over without rhyme or reason. Depending on the game, this might not always be awful, however, in a game where you have multiple values that all play an important role in gameplay such as this game.Your code is very cluttered. Try placing blank lines in between functions and things of that nature.Comments: Once again, I do commemorate you on the fact that your code would be well commented, if your comments weren't so misleading. The comments are excessive, sometimes unnecessarily vague, run on or just plain useless.This game displays all the wrong forms of game development strategies. You loop in intirely redundant and unnecessary ways, you use a rat's nest of if statements and loops that make my brain hurt and everything is hard coded! The last point is important.Hard Coding: Let's just use your facing system. You write out the string for your facing, thus, if I wanted to add up and down facing, I have to do all this extra copy pasting that if I were to have done correctly, would be done through some dynamic loop or singular function.I'm going to stop here, as I really don't want to be the bad guy in this situation. I'd like to know if you will allow me to create this in Python, using the same system as a Python equivalent of the game. I'm asking permission simply because I don't want to seem like I'm stealing your spotlight or saying I'm better than you, I wish to show people a different alternative to do this style of game.I definitely apreciate the atempt, I just don't feel like this came out the way you were expecting.Cheers, Redfox.

URL: https://forum.audiogames.net/post/546054/#p546054




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : tunmi13 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Oops, my bad. Anyways Ironcross, redownload it, I fixed the reloading bug.

URL: https://forum.audiogames.net/post/546051/#p546051




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Oh I probably got the wrong one because I got the game but with the BGT.

URL: https://forum.audiogames.net/post/546041/#p546041




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : Lucas1853 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

There are two different archives. One just has the game (although he forgot to exclude the main BGT file from that one) and one has the source as well.

URL: https://forum.audiogames.net/post/546038/#p546038




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Hey did you forget the includes? They're not in the archive, also a bug exists where you can continue to load the gun until you're out of ammo, exceeding the clipsize. I was gonna try to fix it but the includes don't seem to be in there.

URL: https://forum.audiogames.net/post/546031/#p546031




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : ironcross32 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

I'll check it out even though I hate BGT and it won't for some reason let me initialize arrays without bitching about stupid shit.

URL: https://forum.audiogames.net/post/546026/#p546026




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : Jaidon Of the Caribbean via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Let's see what kick-ass thing I could possibly make out of this. This is wht we need. More open sourcing!

URL: https://forum.audiogames.net/post/545996/#p545996




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : tunmi13 via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Apologies, Ty, you will have to redownload. I had to fix a nasty little bug where you could press R and keep on reloading. LOL.

URL: https://forum.audiogames.net/post/545993/#p545993




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

2020-06-26 Thread AudioGames . net Forum — New releases room : Ty via Audiogames-reflector


  


Re: Shooter XT - Open sourced 2D Sidescroller Shooter for BGT beginners

Downloading now.

URL: https://forum.audiogames.net/post/545987/#p545987




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector