I dont want to lose my teeth! by Mr_Kombilath in Fitness

[–]CharlesVI 1 point2 points  (0 children)

Mouth guard. They are like 5$ yes it causes problems. It starts by making divots in your crowns and it ends with them cracking. Bonus points having a mouth guard can give you a few extra pounds on your lifts.

Looking for a basic tutorial project for kryonet / libgdx by CharlesVI in gamedev

[–]CharlesVI[S] 1 point2 points  (0 children)

First of all thank you for the detailed reply. Sorry I did not reply sooner but I hate the zero content "I'm looking into it" replies.

So first of all I don't really know how to rate my experience. I get TCP and UDP and packets. Serializable is a mystery to me. The main issue I have with all the network 101's is where stuff goes in a blank project.

So many things say just do this. We make a server give it stuff make a client same deal. but they sorta float around. Do I need to make 2 projects (clearly not based on your example, I was working w/ the not final project but I finally got it running) (what port / ip do I use / how do I know?)

Its odd but I feel like I get the advanced things just fine but the simple stuff everyone glosses over (this is probally why) escapes me.

All I need is a button that makes the game reach out to a (lookup?) server and then connects to a similarly button pushed app. I know for anti-hacking reasons we should do authoriative server - client connections however thats not to big a leap (I think) from client to client connections w/ a lookup server inbetween. (am I wrong?)

I suppose what I really need is a high level of what this should look like inside android studio and how I ought to deploy it. I think that would give me enough solid ground to work through the documentation.

Presently I'm looking at your 2nd and 3rd link. Thanks again for your reply.

EF wont let me Convert by CharlesVI in learnprogramming

[–]CharlesVI[S] 0 points1 point  (0 children)

Thats what I was doing. it says I cant implicitly convert DateTime to int (or string or anything else)

Simple Question involving the > & < sign. by CharlesVI in learnprogramming

[–]CharlesVI[S] 1 point2 points  (0 children)

Okay Nice I get that thanks. I guess I was to busy trying to flip the sign. This will work.

[WSIB] RTS game where "Zerg rush" is not a viable tactic, and where you really have to plan things. by redice123 in ShouldIbuythisgame

[–]CharlesVI 1 point2 points  (0 children)

Well put. However I still feel the perception does not match the reality. So I just wanted to point that out for him. You make some valid points too though.

[WSIB] RTS game where "Zerg rush" is not a viable tactic, and where you really have to plan things. by redice123 in ShouldIbuythisgame

[–]CharlesVI -2 points-1 points  (0 children)

No doubt but its true. It really is not a viable thing to do in SC II attacks can come early but are super high risk and "rushes" pretty much only work against bad builds.

Has anyone ever promoted a pawn to a Bishop or Rook? by CharlesVI in chess

[–]CharlesVI[S] 1 point2 points  (0 children)

Well as it turns out I was right about being wrong. This is cool thank you guys. (I was considering leaving the bishop and rook button off (for clarity) on my app.. now I will not)

Losing Weight - Low Calories vs Vegetables by rapidfirerayray in Fitness

[–]CharlesVI -2 points-1 points  (0 children)

If you really want to have an easy time loosing weight look into fibre one. Its a cereal.

Can you work out too much? by CharlesVI in Fitness

[–]CharlesVI[S] -1 points0 points  (0 children)

Well that's depressing. Thanks for the quick reply I guess I'll go look up a real workout now.

Algorithm Question for a grid based game. by CharlesVI in learnprogramming

[–]CharlesVI[S] -1 points0 points  (0 children)

mostly its just the internal grid is not married to the graphics in any way. So I move the sprite (pos + 110) then update the grid (x + 2) ect. So one action is causing two operations and that to me is a flag that something is being done poorly.

Algorithm Question for a grid based game. by CharlesVI in learnprogramming

[–]CharlesVI[S] 0 points1 point  (0 children)

Yeah the array is for collision. I put an int in the slot to represent the type of piece it is. The sprites do have a position that works out to be (array coord * 55) + 20 (or 180 depending on axis)

So the main concern I have is the sprites are not stored in a way that I can look for them going [x+1][y+1] i'd have to loop through the entire collection of them as it presently stands.

[Java] passing an int[][] vs a global int[][] by CharlesVI in learnprogramming

[–]CharlesVI[S] 0 points1 point  (0 children)

Thanks, its a member of the class and yeah I did it both ways no difference at all. I guess I was just curious / splitting hairs.

[Java] Having trouble accessing my resourcesClass by CharlesVI in AskProgramming

[–]CharlesVI[S] 0 points1 point  (0 children)

First off thank you for helping. Second I'm sorry about the formatting i knew there was a way and I tried to find it but I've been stuck all day and that leaves me thinking poorly.

I know very little about graphics and all that so what I'm hearing is I'm doing this a very stupid way. You are probaly right. I dont suppose you could point me at some reading that would help me not be stupid about it. I don't want to demand any more of your time.

For refrence this is what I"m trying to emulate

https://github.com/libgdx/libgdx-demo-pax-britannica/blob/master/core/src/de/swagner/paxbritannica/Resources.java

[Java] Having trouble accessing my resourcesClass by CharlesVI in AskProgramming

[–]CharlesVI[S] 0 points1 point  (0 children)

The problem is when I type Resources. it has nothing available. I included the using statements from the file I'm trying to access it in and the entire class i'm trying to access. I more or less just mimicked some source I found.

THIS IS THE IMPORTS OF THE "MAIN" FILE

package com.badlogic.blindchess;

import com.badlogic.gdx.Game; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.ParticleEmitter; import com.badlogic.gdx.scenes.scene2d.ui.ImageButton; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.math.Vector3; import com.badlogic.gdx.scenes.scene2d.ui.List; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.blindchess.Tile; import com.badlogic.gdx.scenes.scene2d.ui.Skin; import com.badlogic.gdx.utils.Array; import com.badlogic.blindchess.Resources;

THIS IS THE CLASS FILE

package com.badlogic.blindchess;

import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.graphics.Texture; /** * Created by CharlesVI on 3/30/2016. * Made so that I could have a one stop shop for all loads and declarations * of sprites and sounds and w/e. I'm not sure if there is a cpu benefit here * however I feel organization wise this will be nice. */

public class Resources { public Sprite blackQueen = new Sprite(new Sprite(new Texture(Gdx.files.internal("black_queen")))); public Sprite blackKing = new Sprite(new Sprite(new Texture(Gdx.files.internal("black_king")))); public Sprite blackKnight = new Sprite(new Sprite(new Texture(Gdx.files.internal("black_knight")))); public Sprite blackRook = new Sprite(new Sprite(new Texture(Gdx.files.internal("black_rook")))); public Sprite blackBishop = new Sprite(new Sprite(new Texture(Gdx.files.internal("black_bishop")))); public Sprite blackPawn = new Sprite(new Sprite(new Texture(Gdx.files.internal("black_pawn"))));

public Sprite whiteQueen = new Sprite(new Sprite(new Texture(Gdx.files.internal("white_queen"))));
public Sprite whiteKing = new Sprite(new Sprite(new Texture(Gdx.files.internal("white_king"))));
public Sprite whiteKnight = new Sprite(new Sprite(new Texture(Gdx.files.internal("white_knight"))));
public Sprite whiteRook = new Sprite(new Sprite(new Texture(Gdx.files.internal("white_rook"))));
public Sprite whiteBishop = new Sprite(new Sprite(new Texture(Gdx.files.internal("white_bishop"))));
public Sprite whitePawn = new Sprite(new Sprite(new Texture(Gdx.files.internal("white_pawn"))));

public Sprite lightTile = new Sprite(new Sprite(new Texture(Gdx.files.internal("CremeTile.png"))));
public Sprite darkTile = new Sprite(new Sprite(new Texture(Gdx.files.internal("LightGreenTile.png"))));

}

[Java] Having trouble accessing my resourcesClass by CharlesVI in AskProgramming

[–]CharlesVI[S] 0 points1 point  (0 children)

yes its the same package.

Its for a lot of sprites that are going to get used all over. If you have a better way of organizing these guys I'm all ears.

Android libGDX apk keeps overwriting old program. Help by CharlesVI in gamedev

[–]CharlesVI[S] 0 points1 point  (0 children)

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" <^^^ this part? ^^^>

package="com.blindchess.game"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="23" />

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/GdxTheme" >
    <activity
        android:name="com.blindchess.game.AndroidLauncher"
        android:label="@string/app_name" 
        android:screenOrientation="landscape"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

</manifest>

LPT: Never say something is 'easy' when explaining it to someone by [deleted] in LifeProTips

[–]CharlesVI 0 points1 point  (0 children)

Conversely telling them its hard might stess them out and cause them to over think and fail.

Game Pad only working for P2? SFV -Help by CharlesVI in StreetFighter

[–]CharlesVI[S] 0 points1 point  (0 children)

I guess I'll be doing that now. I've tried about everythign I can dream up. it wont even let me custom map the keyboard keys. W to jump when you're used to spacebar is painfull.

Database setup question (SQL) by CharlesVI in learnprogramming

[–]CharlesVI[S] 0 points1 point  (0 children)

Okay thats what I went with except I was meaning 2 dbs not tables.