Recent Forum Posts
From categories:
page 1123...next »

When I try to do this i get like 15 FPS.
Is there any way to increase performance.

I found a solution: I was initializing the target every time I drawed.
It now works better but not as fast as before

Jakob Asgaard (guest) 18 Apr 2019 19:48
in discussion Hidden / Per page discussions » Troubleshooting: Ambient Shader

I'm not able to find the effect file template in Visual Studio.
Currently using Visual Studio 2017 15.9.8

by Jakob Asgaard (guest), 18 Apr 2019 19:48

As I'm letting everything sink in. I'm thinking that I agree with everyone but also disagree.
Here is my thoughts.

Last few competitions I've kinda gotten very little work done. The entire last year all of my "Creativity" was spent building an entire Dungeons and Dragons world.

Recently I discovered a new work ethic and have gotten tons of work done.
Dungeons and Dragons has died down and I have halted work on it. But I still need a creative outlet for my brain. I've been wanting to get back into game dev for a month or so and decided its time to try my hand at game dev again.

This time, although I haven't done TONS of programming, I am more intelligent and able to work harder and smarter just generally as a person. That being said I am doing the one thing I thought I'd never do, and take my game dev to the 3D world. And not only 3D, I'm going to go for a VR game. This is kinda what PiscesMike was talking about, We as a community have grown quite a bit.
As for the getting Motivation, I really don't know if its something that the competition is to blame for, I'm a new adult and am proceeding to have less and less free time, although my new work ethic is still allowing me to have hours of free time at the end of the day, I know that it is a temporary thing, and unless I can set an hour a day to game dev for the rest of my life regardless of situation, I WILL run out of time eventually, be it marriage or kids or just work.

That being said MMORPG I don't know if would really solve anything.
I do believe that we should have a discord chat with the competition in it for everyone who is participating, possibly allow others to view but not post.
One of the most effective things for ME to keep my game dev was a daily standup and trello board.
(You can see my Future Game trello board here: https://trello.com/b/vpQbYKTc/future-game-prealpha-01 It allows me to go back even a year later and know exactly where I was)
I myself would much rather post my standups and WIPS in my own Channel in discord for anyone to see and give feedback, verses a standalone client that I need to log into.
Although that doesn't necessarily mean the same is true for others.

Anyway, that's my two cents.

Only lost a week, but here I am, I've been gone for far to long folks..
Its time to develop something new.

I Present, Particle Matrix.

This 3 month demo will be a VR shoot-em-up with an emphisis on particle engines, gravity wells and some odd but fun bullet physics.

This month, I plan to get a working VR development room for me to test my game, And a gun that shoots colorful neon bullets.

Sam (guest) 04 Apr 2019 20:57
in discussion Community Projects / Competition #14 » RB's Project

Thanks for the update! Looking forward to 4th edition :)

by Sam (guest), 04 Apr 2019 20:57

Well I just hit a milestone, and figured now, before I have to head off to work in a few minutes would be a good time to make a post.

For Competition #14, I'm working on my book. I know I've said that before. I'm sure I'll say it again. I'd love to be working on a game right now, but VS 2019 just came out two days ago, and I was hoping to have the 4th edition of my book ready to go by about now.

To sort of catch everybody up on the starting situation, VS 2017/C# 7/The C# Player's Guide 3rd Edition all came out in… it might have been March of 2017. Microsoft has, since then, done several smaller updates to the language and to Visual Studio. 7.1, 7.2, and 7.3 have all come out, and I think VS is on like version 15.9 (VS 2017 is VS 15). The new functionality has been interesting, but it's hard to justify publishing a new version of the book for every minor revision. That, combined with the point releases for versions is a new thing, means I haven't updated the book for those point releases. C# 8 has significantly bigger features (as does VS 2019), and so this demands an update to the book.

So updating my book to C# 8/VS 2019 has been my top personal project this year. I made some progress in January. I went through all of the features for 7.1 through 7.3 and made notes on what they were and how they'd affect the book. I also did that with 8, but that was far less clear. In January, it was still fairly unclear what was going to ship and what was going to be rejected, and what was going to be pushed back for 8.1 or 9.0.

Then things got busy and I haven't made much more progress in February and March.

Now that Competition #14 is starting, I'm back working on the book again.

This morning (I've been trying to get 90 minutes of good, deep work in on my book before going off to work) I hit a significant milestone. I've updated the book to include everything in C# 7.1 through 7.3, with a couple of big exceptions (new chapters that need to be written). I haven't really touched C# 8 yet, and that will be a lot of work still.

I feel like I've identified two other chapters that need to be written in this process.

The first is that tuples have become an elegant and powerful tool in C#. With C# 7 and .NET 4.7, you had to add a reference to System.ValueTuple. You no longer need that. It makes me think that tuples might be a fantastic starting point, early on, after introducing all of the primitive types like int and double, for helping people understand how to build their own types out of existing building blocks. And I think this can and should go in conjunction with more info on arrays and other collection types.

The second is that while C# 7 had output parameters, the 7.1 through 8.0 has done a lot of work in the realm of passing things by reference. I think that basic concept of passing by reference using out, in, and ref is useful on its own, but there's so much more to discuss there now, that it also seems like it is deserving of its own whole chapter (perhaps with the recommendation that you only have to read the first section or two the first time through the book).

So there's sort of the three big other milestones that I know need to be done next: C# 8 features, tuples chapter, and pass-by-ref chapter. In no particular order.

RB's Project by rbwhitakerrbwhitaker, 04 Apr 2019 14:24

I think I'm going to join in this competition.

I don't know the specifics of how I want to approach it yet.

Unfortunately, I won't be building a game this time. I've said that before, and I end up feeling a bit bad about it, because I see the things everybody else is posting. But I just really really really need to focus on updating my book for the 4th Edition. VS 2019 is coming out in like.. two days, and I already know it will be impossible to release then. Getting it all ready to go by the end of the month is probably too aggressive, but if this competition helps me focus enough to make good progress, that's sufficient.

I'll try to make a thread with more details later. Just don't want you (@PiscesMike) to feel like you're all alone here! :D

Rit (guest) 27 Mar 2019 22:50
in discussion Hidden / Per page discussions » Troubleshooting: 2D Particle Engines

Hi,
Thanks for the tutorial. Im trying to figure out how to make the particles be followed by an object. So as my object moves it leaves a trail behind it rather than it being in my mouse. How could i do this?
Thanks

by Rit (guest), 27 Mar 2019 22:50
Jon (guest) 27 Mar 2019 02:36
in discussion Hidden / Per page discussions » Troubleshooting: MonoGame - Using 3D Models

I'm having several issues already mentioned above, but I'm also having rendering issues. Whenever I render models, they always appear black. Am I missing something, or is this a major bug in MonoGame 3.71?

by Jon (guest), 27 Mar 2019 02:36

Alrighty, time's getting close for the beginning of the competition, so figured I better settle on something to do. Not sure about the over all stuff yet, but I'll be working on a hack and slash side scroller of some short based on prerendered graphics I found online for free:


"May the mercy of His Divine Shadow fall upon you." - Stanley H. Tweedle, Security Guard class IV, The League of 20,000 planets

Wow, let's dust off the webs in here!

I know I've been away for a bit, but I never knew you guys would miss me so much. I apologize, I will never abandon you again!

I noticed that our last competition or collab was waaaay back in 2017. Seems like we lost an entire year there. I guess, in reality, we did.

Thereby and therefore, I am submitting that we should once again endeavor to tear into some code, work up a good sweat, and see what we can learn!

Competition #14 - Runs from 4.01.2019 to 4.30.2019, a nice even 30 days

Please sign up by posting here, with a brief description of what you're planning to do.

I would also like to keep our Achievements goals going on this. If you're new, or need a reminder, here's how that worked: http://rbwhitaker.wikidot.com/forum/t-3222206/achievements

Teams are welcome. The best results seem to be everyone pitching in and grabbing a chore, at least it's worked well for our collaborations.

That being said, if you want to do something else like music or artwork, you are welcome to join in an make a personal challenge for the competition.

Let me know who's in!


"May the mercy of His Divine Shadow fall upon you." - Stanley H. Tweedle, Security Guard class IV, The League of 20,000 planets

Sign up for Comeptition #14 by PiscesMikePiscesMike, 09 Mar 2019 01:47
SnipeHub (guest) 16 Feb 2019 09:16
in discussion Hidden / Per page discussions » Troubleshooting: MonoGame - Managing Content

Hi, just getting an error. I loaded an image into the content folder and it can't find it, why is that? I used the Pipeline Tool to load it in.

Microsoft.Xna.Framework.Content.ContentLoadException
HResult=0x80131500
Message=The content file was not found.
Source=MonoGame.Framework
StackTrace:
at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName)
at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject)
at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)
at MonoTutorial.FurnaceRoom.LoadContent() in G:\source\repos\MonoTutorial\MonoTutorial\FurnaceRoom.cs:line 44
at Microsoft.Xna.Framework.Game.Initialize()
at MonoTutorial.FurnaceRoom.Initialize() in G:\source\repos\MonoTutorial\MonoTutorial\FurnaceRoom.cs:line 31
at Microsoft.Xna.Framework.Game.DoInitialize()
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
at Microsoft.Xna.Framework.Game.Run()
at MonoTutorial.Program.Main() in G:\source\repos\MonoTutorial\MonoTutorial\Program.cs:line 18

Inner Exception 1:
FileNotFoundException: Could not find file 'G:\source\repos\MonoTutorial\MonoTutorial\bin\Windows\x86\Debug\Content\pine-trees-2.png.xnb'.

by SnipeHub (guest), 16 Feb 2019 09:16
theFatTurtle (guest) 02 Feb 2019 11:21
in discussion Hidden / Per page discussions » Troubleshooting: Shaders In XNA

try this.
Turn 180 degrees and walk 2 steps.
then go back to start walk 2 steps and turn 180 degrees.
You won't be at the same position.
It is the same with the matrixes.

I know this is an old post but this may help somebody

by theFatTurtle (guest), 02 Feb 2019 11:21
Manu (guest) 21 Jan 2019 10:38
in discussion Hidden / Per page discussions » Troubleshooting: Setting Up MonoGame

Just as a backup to my statement: visualstudio.microsoft.com /vs/express/ (use https)

by Manu (guest), 21 Jan 2019 10:38
Manu (guest) 21 Jan 2019 10:34
in discussion Hidden / Per page discussions » Troubleshooting: Setting Up MonoGame

BTW, there is also a Visual Studio Express - which you did not mention - yes, there is still is, despite the existence of the Community version.

by Manu (guest), 21 Jan 2019 10:34
Matt (guest) 18 Jan 2019 13:20
in discussion Hidden / Per page discussions » Troubleshooting: Monogame Spritebatch Basics

Anyone coming across this in the future, and receiving a textureimporter error, try installing/updating your VS C++ Redist 2013.

Microsoft Link:
htt ps:// support.microsoft .c om/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package

Good luck!

by Matt (guest), 18 Jan 2019 13:20

Hey Everyone,

Despite being completely absent for the last year, I was wondering if there were plans to do another collab (Game Jam) sometime in the future? I would make myself available if so. Might have a second taker that would be interested in focusing on adding sound effects as well.

-Brett

Hi all, I have been searching for days and cannot find any help. I need to be able to +*-/ all in one textbox.
as an example, 123+34*4+334-300. I am not using any buttons as the numpad on the keyboard is my buttons, but I want them all to work in my textbox like a calculator. I currently can do only add, no matter what character I use. Code:

private void calculatortxt_KeyPress(object sender, KeyPressEventArgs e)
        {

            if (!(char.IsDigit(e.KeyChar) || e.KeyChar == (char)Keys.Back || e.KeyChar == '.' || e.KeyChar == '+' || e.KeyChar == '-' || e.KeyChar == '*' || e.KeyChar == '/'))
            { e.Handled = true; }
            TextBox txtDecimal = sender as TextBox;

            double Total;
            string[] numbers = calculatortxt.Text.Split('+', '-', '*', '/');
            Total = 0;
            foreach (string value in numbers)
            {
                if (!string.IsNullOrEmpty(value))
                {
                    Total = Total + Convert.ToDouble(value);
                }
            }

            if (e.KeyChar == (Char)Keys.Enter)
            {
                //calculatortxt.Text = Total.ToString();
            }
            if (e.KeyChar == (Char)Keys.Escape)
            {
                calculatortxt.Text = "";
            }
        }
Basic arithmatic calculator in textbox by Simeon (guest), 30 Oct 2018 19:14
Dan (guest) 04 Sep 2018 15:20
in discussion Hidden / Per page discussions » Wrap Up

Really wish I'd found this tutorial set a year or 2 ago. As a front-end designer who knew nothing about programming, I'd always ham-fisted (Or beef-fisted(?), being across the pond…) my way through jQuery in a procedural (Spaghetti) style to get the View to do what I wanted.

2 years ago (and 3 days if I'm being pedantic) I got dropped In the deep end of our IT dept as the previous manager/.net dev left without serving his notice, and had coincidentally not done any planning or development work regarding a major update with a 3rd party api. I stepped up and said let me try something in PHP (the only back end language I had any clue of at the time) while they tried to find a replacement, it took some googling but I got there in the end!

Fast-forward 2 years, we had a replacement who came and left in the blink of an eye (because as a developer, I could out-code him?!) and so I asked for the position. Since then I've been diving through the legacy code here, written in .NET or VBScript (Joy…) but had never had anyone to tell me the basics, until now ;)

This is the first tutorial series that I could actually follow, usually it gets complicated quickly and then someone starts talking about Dependency Injection and I just give up. I just want to know why I need to put the "Static" keyword on my method in order to get the solution to build! Stack Overflow only gets you so far but if extra reading is required you'll end up on Microsoft's Technical Documentation which assumes a greater level of understanding than I currently possess.

In short, Thank you for taking the time to write a basic guide for people who have little understanding of programming as a science (or art in some cases!). I've got a lot of refactoring to do….

by Dan (guest), 04 Sep 2018 15:20
Yan (guest) 01 Sep 2018 22:39
in discussion Hidden / Per page discussions » Looping in C#

I'm not a smart man :/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pyramid
{
    public class Program
    {
        public static void Main(string[] args)
        {
            for (int row = 0; row < 6; row++)
            {
                for (int column = 0; column < 11; column++)
                {
                    if (column == 5)
                    {
                        for (int star = 0; star <= row; star++)
                        {
                            Console.Write("*");
                        }
                    }
                    else if (column == 4 && row >= 1)
                    {
                        for (int starcolumn = 0; starcolumn <= column - 4; starcolumn++)
                        {
                            Console.Write("*");
                        }
                    }
                    else if (column == 3 && row >= 2)
                    {
                        for (int starcolumn1 = 0; starcolumn1 <= column - 3; starcolumn1++)
                        {
                            Console.Write("*");
                        }
                    }
                    else if (column == 2 && row >= 3)
                    {
                        for (int starcolumn2 = 0; starcolumn2 <= column - 2; starcolumn2++)
                        {
                            Console.Write("*");
                        }
                    }
                    else if (column == 1 && row >= 4)
                    {
                        for (int starcolumn3 = 0; starcolumn3 <= column - 1; starcolumn3++)
                        {
                            Console.Write("*");
                        }
                    }
                    else if (column == 0 && row >= 5)
                    {
                        for (int starcolumn4 = 0; starcolumn4 <= column; starcolumn4++)
                        {
                            Console.Write("*");
                        }
                    }
                    else
                        Console.Write(" ");
                }

                Console.WriteLine();
            }
        }
    }
}
by Yan (guest), 01 Sep 2018 22:39
page 1123...next »